From 8a4cb8c0acda73dae4234caeaeaa3a24eeb7b56c Mon Sep 17 00:00:00 2001 From: Second Planet Date: Sat, 5 Nov 2011 19:40:21 -0400 Subject: Add more external dep options * Chicken Scheme * Node.js * Rubinius Closes Homebrew/homebrew#8466. Signed-off-by: Adam Vandenberg --- Library/Homebrew/exceptions.rb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Library/Homebrew/exceptions.rb') 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 -- cgit v1.2.3