aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
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