diff --git a/bundler/spec/support/builders.rb b/bundler/spec/support/builders.rb index c9ddc2c13e25..3db84b277dff 100644 --- a/bundler/spec/support/builders.rb +++ b/bundler/spec/support/builders.rb @@ -577,8 +577,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("add *", libpath) - @context.git("commit -m BUMP", libpath, :raise_on_error => false) + @context.git("commit -am BUMP", libpath, :raise_on_error => false) end end