lib/rconf/configurators/bundler_configurator.rb in rconf-0.5.6 vs lib/rconf/configurators/bundler_configurator.rb in rconf-0.5.8
- old
+ new
@@ -63,11 +63,10 @@
def install_bundler
res = Command.execute('bundle', '--version')
exists = res.success? && res.output !~ /exec: bundle: not found/
if exists
report_check('Uninstalling existing versions of bundler')
- res = Command.execute('gem', 'uninstall', 'bundler', '-a', '-x',
- :abort_on_failure => 'Failed to uninstall bundler')
+ Command.execute('gem', 'uninstall', 'bundler', '-a', '-x')
report_success
end
report_check("Installing bundler #{version}")
gem_path DEFAULT_GEM_PATH unless gem_path
bundler_file = File.join(gem_path, "bundler-#{version}.gem")