Sha256: 0210aebb2419ca5f9c2176d83558a062ecf7198402b5e4ce07f14e71ae5ae81f
Contents?: true
Size: 645 Bytes
Versions: 1
Compression:
Stored size: 645 Bytes
Contents
Capistrano::Configuration.instance(:must_exist).load do namespace :rvm do desc <<-DESC Create rvm wrappers for background tasks, in any script adding rvm support looks like: rvm_path=/usr/local/rvm if [[ -s "$rvm_path/environments/${application}" ]] then PATH="$rvm_path/wrappers/${application}:$PATH" fi DESC task :create_wrappers, :roles => fetch(:rvm_require_role,"rvm") do run "rvm alias create #{application} #{rvm_ruby_string}" run "rvm wrapper #{application} --no-links --all" # works with 'rvm 1.19+' end after "bundler:bundle_gems","rvm:create_wrappers" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eycap-0.6.6 | lib/eycap/recipes/rvm.rb |