aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-29 20:52:20 -0800
committerAdam Vandenberg2012-02-29 20:52:20 -0800
commit0c215884c66705c92fd687af0ab5c2df092ea11f (patch)
treef6abdd1ab8780d4f3ea069a4196b7f70566a30a5 /Library/Homebrew/exceptions.rb
parent18ec9553a8e00ceeef45b57efe13eb40e5fbbb21 (diff)
downloadhomebrew-0c215884c66705c92fd687af0ab5c2df092ea11f.tar.bz2
Add support for Luarocks dependencies.
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-rw-r--r--Library/Homebrew/exceptions.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index 968ce5bdf..633db6106 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -79,6 +79,7 @@ class UnsatisfiedExternalDependencyError < Homebrew::InstallationError
when :perl then 'cpan'
when :node then 'npm'
when :chicken then 'chicken-install'
+ when :lua then "luarocks"
end
end
@@ -98,6 +99,8 @@ class UnsatisfiedExternalDependencyError < Homebrew::InstallationError
"npm install"
when :chicken
"chicken-install"
+ when :lua
+ "luarocks install"
end
end
end