capobvious 0.3.pre8 → 0.3.pre9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capobvious/recipes/main.rb +5 -1
- data/lib/capobvious/version.rb +1 -1
- metadata +1 -1
@@ -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
|
-
|
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
|
|
data/lib/capobvious/version.rb
CHANGED