Class: Boxy::LuarockHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/boxy/luarock.rb

Instance Method Summary collapse

Instance Method Details

#install(name, options) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/boxy/luarock.rb', line 3

def install(name, options)
  unless luarock_installed?(name)
    system "luarocks install #{name}"
  else
    puts "skipping #{name}, already installed"
  end
end