Sha256: 8bd1a5f626dbc62691522c23f21e845cecc47ad5a390a97ceaf36dd371426848

Contents?: true

Size: 359 Bytes

Versions: 9

Compression:

Stored size: 359 Bytes

Contents

recipe :rvm do
  description 'This will create .rvmrc file for your app if rvm is available'
  after :capistrano
  
  silently do
    if system 'which rvm > /dev/null'
      in_root do
      	#run '[ -s "$HOME/.rvm/scripts/rvm" ] && . "$HOME/.rvm/scripts/rvm"'
        run "rvm #{RUBY_VERSION}@#{application_name} --rvmrc --create"
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
playmo-0.1.10 recipes/rvm_recipe.rb
playmo-0.1.9 recipes/rvm_recipe.rb
playmo-0.1.8 recipes/rvm_recipe.rb
playmo-0.1.7 recipes/rvm_recipe.rb
playmo-0.1.6 recipes/rvm_recipe.rb
playmo-0.1.5 recipes/rvm_recipe.rb
playmo-0.1.4 recipes/rvm_recipe.rb
playmo-0.1.3 recipes/rvm_recipe.rb
playmo-0.1.2 recipes/rvm_recipe.rb