capobvious 0.3.pre8 → 0.3.pre9

Sign up to get free protection for your applications and to get access to all the features.
@@ -77,7 +77,11 @@ Capistrano::Configuration.instance(:must_exist).load do
77
77
  namespace :create do
78
78
  desc "Create .rvmrc"
79
79
  task :rvmrc do
80
- run "cd #{latest_release} && rvm use #{exists?(:ruby_version) ? fetch(:ruby_version) : ''} --create --rvmrc"
80
+ if exists?(:ruby_version)
81
+ rvmrc_string = "rvm use #{fetch(:ruby_version)} --create"
82
+ logger.info rvmrc_string
83
+ put rvmrc_string, "#{latest_release}/.rvmrc"
84
+ end
81
85
  end
82
86
  end
83
87
 
@@ -1,3 +1,3 @@
1
1
  module Capobvious
2
- VERSION = "0.3.pre8"
2
+ VERSION = "0.3.pre9"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: capobvious
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 4
5
- version: 0.3.pre8
5
+ version: 0.3.pre9
6
6
  platform: ruby
7
7
  authors:
8
8
  - Dmitry Gruzd