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
commit8a4cb8c0acda73dae4234caeaeaa3a24eeb7b56c (patch)
treecd5351f2ab055ce7b908aadd437a58c32f4facd7 /Library/Homebrew/exceptions.rb
parent5d1db0e934b906ed6e84bcd53b4e24fb0c48424c (diff)
downloadbrew-8a4cb8c0acda73dae4234caeaeaa3a24eeb7b56c.tar.bz2
Add more external dep options
* Chicken Scheme * Node.js * Rubinius Closes Homebrew/homebrew#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