diff options
| author | Dominyk Tiller | 2015-07-22 05:10:27 +0100 |
|---|---|---|
| committer | Dominyk Tiller | 2015-07-22 05:10:27 +0100 |
| commit | 895983fed560a05f7080b8c0cfcb1bf19635fcc9 (patch) | |
| tree | b0072e10a936a0824242fe528aa92db910210c0a /Library | |
| parent | 1b78fe240ed3b8a6ad06e0ace859bdd537a8ff82 (diff) | |
| download | brew-895983fed560a05f7080b8c0cfcb1bf19635fcc9.tar.bz2 | |
readall: use RUBY_PATH
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/readall.rb | 8 |
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 |
