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
commitd22eed3f1658dd3f13dec34637143aeb4cfe3991 (patch)
tree5129c975f4a7721b9233b29d13a2e129263e79f8 /Library/Homebrew/exceptions.rb
parent85e05b27dd26d12882b7153211af5dcfa1b2de3d (diff)
downloadbrew-d22eed3f1658dd3f13dec34637143aeb4cfe3991.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