Skip to content
Snippets Groups Projects
Commit 97b841c1 authored by Max Howell's avatar Max Howell
Browse files

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
parent a9f246ea
No related branches found
No related tags found
No related merge requests found
......@@ -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',
'--',
......
#!/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__)
......
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