Sha256: 47fb62e2e796a4b80341feeab783ad9d44b0c120c69c2f5d4c82fd14de1106bb
Contents?: true
Size: 429 Bytes
Versions: 3
Compression:
Stored size: 429 Bytes
Contents
# Gem capistrano helpers module Capigen::Helpers::GemHelper # gem_install("raspell") or gem_install([ "raspell", "foo" ]) def gem_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) gems.each do |gem| sudo "gem install --no-rdoc --no-ri --no-verbose #{gem}" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capigen-0.1.1 | lib/capigen/helpers/gem_helper.rb |
capigen-0.1.3 | lib/capigen/helpers/gem_helper.rb |
capigen-0.1.2 | lib/capigen/helpers/gem_helper.rb |