1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Fix unintended Gemfile installation

This command is failing because of the same reason that the subsequent
`bundle exec` is failing: the gemspec is invalid. The `bundle install`
here deviates the `bundle exec` focus from the test and is unnecessary:
all we need is a `Gemfile` that will trigger the `bundle exec`, so let's
create and avoid the extra command.

https://github.com/rubygems/rubygems/commit/eb83cf6cf1
This commit is contained in:
David Rodríguez 2020-06-07 14:16:42 +02:00 committed by Hiroshi SHIBATA
parent 6aafea2d99
commit cceb77f57b
Notes: git 2020-06-18 19:15:22 +09:00

View file

@ -576,7 +576,7 @@ RSpec.describe "bundle exec" do
G
end
install_gemfile <<-G
gemfile <<-G
gem "foo", :path => "#{lib_path("foo-1.0")}"
G