Sha256: b3878c8d19ca2118bf513e0997488cabddd24a0c56600117a47eee82aeb330ce
Contents?: true
Size: 608 Bytes
Versions: 3
Compression:
Stored size: 608 Bytes
Contents
module Capitate::Plugins::Gem # Install a gem. # # ==== Options # +gems+:: List of gem names, or a single gem # # ==== Examples (in capistrano task) # gemc.install("raspell") # gemc.install([ "raspell", "foo" ]) # def install(gems) # If a single object, wrap in array gems = [ gems ] unless gems.is_a?(Array) # Install one at a time because we may need to pass install args (e.g. mysql) # TODO: Fix this gems.each do |gem| sudo "gem install --no-rdoc --no-ri --no-verbose #{gem}" end end end Capistrano.plugin :gemc, Capitate::Plugins::Gem
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capitate-0.1.7 | lib/capitate/plugins/gem.rb |
capitate-0.1.8 | lib/capitate/plugins/gem.rb |
capitate-0.1.9 | lib/capitate/plugins/gem.rb |