bin/rconf in rconf-0.7.13 vs bin/rconf in rconf-0.7.15
- old
+ new
@@ -128,16 +128,17 @@
report_check("Checking rconf for #{ruby}@#{gs}")
rconf = Command.execute('rvm', "#{ruby}@#{gs}", 'gem', 'list', 'rconf').output
if rconf =~ /rconf \(#{version}/
report_success
next
- else
+ elsif rconf =~ /rconf/
report_failure
report_check("Updating rconf for #{ruby}@#{gs}")
res = Command.execute('rvm', "#{ruby}@#{gs}", 'gem', 'install',
- 'rconf', '-v', version, '--no-ri', '--no-rdoc',
- :abort_on_failure => "Failed to install rconf #{version}")
- report_success
+ 'rconf', '-v', version, '--no-ri', '--no-rdoc')
+ report_result(res.success?)
+ else
+ report('SKIPPED (no rconf)')
end
end
end
end