aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorSecond Planet2011-11-05 19:40:21 -0400
committerAdam Vandenberg2012-02-25 10:19:59 -0800
commitc4027c4051cd7d8896b95e1f9271a50c683222d8 (patch)
tree55dd08674acda5f4042b04bfb7b9a9fa2671d118 /Library/Homebrew/exceptions.rb
parent34215a613dd6b90315c4649ad9f5fd18288330e4 (diff)
downloadhomebrew-c4027c4051cd7d8896b95e1f9271a50c683222d8.tar.bz2
Add more external dep options
* Chicken Scheme * Node.js * Rubinius Closes #8466. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-rw-r--r--Library/Homebrew/exceptions.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index cd5103963..ee4c2477d 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -76,8 +76,10 @@ class UnsatisfiedExternalDependencyError < Homebrew::InstallationError
def tool
case type
when :python then 'easy_install'
- when :ruby, :jruby then 'rubygems'
+ when :ruby, :jruby, :rbx then 'rubygems'
when :perl then 'cpan'
+ when :node then 'npm'
+ when :chicken then 'chicken-install'
end
end
@@ -91,6 +93,12 @@ class UnsatisfiedExternalDependencyError < Homebrew::InstallationError
"cpan -i"
when :jruby
"jruby -S gem install"
+ when :rbx
+ "rbx gem install"
+ when :node
+ "npm install"
+ when :chicken
+ "chicken-install"
end
end
end