diff options
| author | Max Howell | 2012-08-06 13:06:16 -0400 | 
|---|---|---|
| committer | Max Howell | 2012-08-06 13:06:36 -0400 | 
| commit | 84bf873aae08d72c0da9f49e03ff74202838e356 (patch) | |
| tree | 6c6f45ede4a34b12dd3575e3458e42f32a62f4db | |
| parent | 9957939cd71b890c45c1cdea71fb1ced33f13308 (diff) | |
| download | homebrew-84bf873aae08d72c0da9f49e03ff74202838e356.tar.bz2 | |
Don't output Ruby warnings
We don't want bug reports about this crap, even though the user REALLY should listen to the warning message. What actually happens is they blame us instead.
This kind of warning in particular:
warning: Insecure world writable dir /usr/local/bin in PATH
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 1 | ||||
| -rwxr-xr-x | bin/brew | 2 | 
2 files changed, 2 insertions, 1 deletions
| diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 419a8855c..cd32eff9f 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -196,6 +196,7 @@ class FormulaInstaller          read.close          exec '/usr/bin/nice',               '/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby', +             '-W0',               '-I', Pathname.new(__FILE__).dirname,               '-rbuild',               '--', @@ -1,4 +1,4 @@ -#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby +#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -W0  # -*- coding: utf-8 -*-  HOMEBREW_BREW_FILE = ENV['HOMEBREW_BREW_FILE'] = File.expand_path(__FILE__) | 
