From b7962933ce9123743d74f08450ae82c486c3570e Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Sun, 26 Dec 2010 13:16:02 -0600 Subject: Remove Rubinius conflicting aliases for "ruby", "irb", "rake", etc Signed-off-by: Mike McQuaid --- Library/Formula/rubinius.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library') 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 -- cgit v1.2.3