Sha256: e5465d48ae95258c1f672b341c8aa30a7d5b4ff8e9321680b684c7e0208876c1

Contents?: true

Size: 692 Bytes

Versions: 8

Compression:

Stored size: 692 Bytes

Contents

require 'rvm/capistrano/base'
require 'rvm/capistrano/helpers/with_rvm_group'

rvm_with_capistrano do
  namespace :rvm do

    desc "Create application alias"
    rvm_task :create_alias do
      run_rvm("alias create #{application} #{rvm_ruby_string_evaluated}", :with_rvm_group => true)
    end

    desc "Show application alias path to wrappers"
    rvm_task :show_alias_path do
      run("ls #{rvm_path}/wrappers/#{application}/*")
    end

    desc "Create application wrappers"
    rvm_task :create_wrappers  do
      run_rvm("wrapper #{rvm_ruby_string_evaluated} --no-prefix --all",
               :with_rvm_group => true,
               :subject_class => :wrappers)
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rvm-capistrano-1.5.6 lib/rvm/capistrano/alias_and_wrapp.rb
rvm-capistrano-1.5.5 lib/rvm/capistrano/alias_and_wrapp.rb
rvm-capistrano-1.5.4 lib/rvm/capistrano/alias_and_wrapp.rb
rvm-capistrano-1.5.3 lib/rvm/capistrano/alias_and_wrapp.rb
rvm-capistrano-1.5.2 lib/rvm/capistrano/alias_and_wrapp.rb
rvm-capistrano-1.5.1 lib/rvm/capistrano/alias_and_wrapp.rb
rvm-capistrano-1.5.0 lib/rvm/capistrano/alias_and_wrapp.rb
rvm-capistrano-1.5.0.rc1 lib/rvm/capistrano/alias_and_wrapp.rb