diff options
| author | Joshua Peek | 2010-12-26 13:16:02 -0600 |
|---|---|---|
| committer | Mike McQuaid | 2010-12-27 22:04:24 +0000 |
| commit | b7962933ce9123743d74f08450ae82c486c3570e (patch) | |
| tree | fde629ffda406737f1b4b536b02f395242c83d0b /Library/Formula | |
| parent | 6eb55e054ee40b8a2290e60911be66f9c2697c6a (diff) | |
| download | homebrew-b7962933ce9123743d74f08450ae82c486c3570e.tar.bz2 | |
Remove Rubinius conflicting aliases for "ruby", "irb", "rake", etc
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/rubinius.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/rubinius.rb b/Library/Formula/rubinius.rb index 1a3ea5db6..790f96497 100644 --- a/Library/Formula/rubinius.rb +++ b/Library/Formula/rubinius.rb @@ -29,6 +29,9 @@ class Rubinius < Formula ohai "config.rb", File.open('config.rb').to_a if ARGV.debug? or ARGV.verbose? system "/usr/bin/ruby", "-S", "rake", "install" + + # Remove conflicting command aliases + bin.children.select(&:symlink?).each(&:unlink) end def caveats; <<-EOS.undent |
