diff --git a/bundler/spec/support/builders.rb b/bundler/spec/support/builders.rb index 58e4d147dcd2..0ece5ba7f654 100644 --- a/bundler/spec/support/builders.rb +++ b/bundler/spec/support/builders.rb @@ -569,7 +569,7 @@ def _build(options) _default_files[path] += "\n#{Builders.constantize(name)}_PREV_REF = '#{current_ref}'" end super(options.merge(:path => libpath, :gemspec => update_gemspec, :source => source)) - @context.git("commit -am BUMP", libpath, :raise_on_error => false) + @context.git("commit -am BUMP", libpath) end end