Sha256: 80459438fbf4dccae8411bd622f98f84dda691feff18ddb5874c578527639d13
Contents?: true
Size: 1.08 KB
Versions: 3
Compression:
Stored size: 1.08 KB
Contents
# rvm-capistrano https://rvm.io/integration/capistrano/#gem ## Description RVM / Capistrano Integration Gem ## Installation RVM / Capistrano integration is available as a separate gem $ gem install rvm-capistrano ## Example The following code will: - detect `ruby@gemset` used for deployment - install RVM and Ruby on `cap deploy:setup` Example: set :rvm_ruby_string, ENV['GEM_HOME'].gsub(/.*\//,"") set :rvm_install_ruby_params, '--1.9' # for jruby/rbx default to 1.9 mode before 'deploy:setup', 'rvm:install_rvm' # install RVM before 'deploy:setup', 'rvm:install_ruby' # install Ruby and create gemset, or: before 'deploy:setup', 'rvm:create_gemset' # only create gemset require "rvm/capistrano" ## To use the ruby version currently active locally set :rvm_ruby_string, :local ## Tasks ```bash $ cap -T rvm cap rvm:create_gemset # Create gemset cap rvm:install_ruby # Install RVM ruby to the server, create gemset ... cap rvm:install_rvm # Install RVM of the given choice to the server. ``` ## Development $ rake spec
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rvm-capistrano-1.2.6 | README.md |
rvm-capistrano-1.2.5 | README.md |
rvm-capistrano-1.2.4 | README.md |