Skip to content
Snippets Groups Projects
Commit 895983fe authored by Dominyk Tiller's avatar Dominyk Tiller
Browse files

readall: use RUBY_PATH

parent 1b78fe24
No related branches found
No related tags found
No related merge requests found
......@@ -3,9 +3,9 @@
# when making significant changes to formula.rb,
# or to determine if any current formulae have Ruby issues
require 'formula'
require 'cmd/tap'
require 'thread'
require "formula"
require "cmd/tap"
require "thread"
module Homebrew
def readall
......@@ -20,7 +20,7 @@ module Homebrew
Thread.new do
begin
while rb = ruby_files.pop(true)
nostdout { failed = true unless system "ruby", "-c", "-w", rb }
nostdout { failed = true unless system RUBY_PATH, "-c", "-w", rb }
end
rescue ThreadError # ignore empty queue error
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment