rconf 0.6.13 → 0.6.14
Sign up to get free protection for your applications and to get access to all the features.
@@ -129,6 +129,7 @@ module RightConf
|
|
129
129
|
Command.execute('./install', :abort_on_failure => "Failed to install rvm #{version}")
|
130
130
|
end
|
131
131
|
report_success
|
132
|
+
aborting(true)
|
132
133
|
end
|
133
134
|
setup_bashrc
|
134
135
|
true
|
@@ -145,7 +146,7 @@ module RightConf
|
|
145
146
|
Platform.dispatch(ruby) { :install_ruby_prerequesites }
|
146
147
|
report_check("Installing #{ruby} (this will take a while, please be patient)")
|
147
148
|
Command.execute('rvm', 'install', ruby, :abort_on_failure => 'Failed to install ruby')
|
148
|
-
Command.execute("rvm #{version}@#{gemset} exec -- gem install rconf")
|
149
|
+
res = Command.execute("rvm #{version}@#{gemset} exec -- gem install rconf")
|
149
150
|
report_success
|
150
151
|
res.output
|
151
152
|
end
|
@@ -201,7 +202,6 @@ module RightConf
|
|
201
202
|
f.puts "type -P rconf &>/dev/null && { rconf; }"
|
202
203
|
f.puts "type -P rconf &>/dev/null || { echo 'rconf not installed, skipping (see .rvmrc)'; }"
|
203
204
|
end
|
204
|
-
Command.execute('rvm', "#{version}@#{gemset}", 'trust', 'rvmrc')
|
205
205
|
report_success
|
206
206
|
post_note "Configuration required switching the active ruby\nPlease run " + 'cd ..;cd -'.blue + ' to activate it and finish configuration'.green
|
207
207
|
rescue Exception => e
|
data/lib/rconf/version.rb
CHANGED