Sha256: f7b52614bf38efdcc37bed2605aeb93364c075e7bead5e94f310fdf637eb697a
Contents?: true
Size: 619 Bytes
Versions: 1
Compression:
Stored size: 619 Bytes
Contents
require 'rvm/capistrano' namespace :rvm do desc "Install rvm" task :install, :roles => :web do install_deps sudo "if ! (which rvm); then bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head ); fi", :shell => 'sh' sudo "if ! (rvm list | grep #{rvm_ruby_string}); then rvm install #{rvm_ruby_string}; fi", :shell => 'sh' end task :install_deps, :roles => :web do yum.install( {:base => %w(curl git gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2)}, :stable, :shell => 'sh' ) end end before "stack", "rvm:install"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
crossroads_capistrano-1.4.0 | lib/crossroads_capistrano/recipes/rvm.rb |