aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/readall.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/readall.rb b/Library/Homebrew/cmd/readall.rb
index 260a1750d..0714c18b1 100644
--- a/Library/Homebrew/cmd/readall.rb
+++ b/Library/Homebrew/cmd/readall.rb
@@ -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