lib/rconf/configurators/ruby_configurator.rb in rconf-0.6.18 vs lib/rconf/configurators/ruby_configurator.rb in rconf-0.6.19
- old
+ new
@@ -144,10 +144,10 @@
# out(String):: Installation output
def install_ruby(ruby)
Platform.dispatch(ruby) { :install_ruby_prerequesites }
report_check("Installing #{ruby} (this will take a while, please be patient)")
Command.execute('rvm', 'install', ruby, :abort_on_failure => 'Failed to install ruby')
- res = Command.execute("rvm #{version}@global exec -- gem install rconf")
+ res = Command.execute('rvm', ruby, 'gem', 'install', 'rconf')
report_success
res.output
end
# Make sure to install all required linux packages first