Commit graph

6 commits

Author SHA1 Message Date
David Rodríguez
63c4223775 [rubygems/rubygems] Don't create an empty bundled_app when setting up deps
Running everything in `bundled_app` by default causes the `bundled_app`
helper to be used everytime, and that will create a scoped bundled_app
folder if it does not exist. That causes `bin/rake spec:deps` to create
an empty `tmp/2.1/bundled_app` folder which is a bit weird.

This commit changes specs to not switch to a (possibly empty)
bundled_app directory when not necessary (for example, when running
`gem` commands in order to setup test dependencies).

4bf89c0705
2025-07-25 11:10:36 +09:00
David Rodríguez
e673bbf77b [rubygems/rubygems] Remove unused parameter
043f73586b
2025-07-25 11:10:33 +09:00
David Rodríguez
d95f7a3c43
[rubygems/rubygems] Extract stdboth spec helper
bb13f4e702
2025-06-06 10:09:14 +09:00
David Rodríguez
9e121ef985 [rubygems/rubygems] Give gem install commands more time
44f3ae4bc8
2024-10-08 17:48:58 +00:00
David Rodríguez
f445d54f91 [rubygems/rubygems] Move constant to the proper place
9f08241d01
2024-06-20 15:22:52 +09:00
David Rodriguez
da75df2f75 [rubygems/rubygems] Stop depending on pathname for subprocess launching
When launching bundler subprocesses for end to end testing, all of them
will load the `spec/support/rubygems_version_manager.rb` file passed as
a ruby's `-r` flag.

Unfortunately this file depends on `pathname`, so unless we drop that
dependency, we can't really test support for including the `pathname`
gem in the `Gemfile`.

This commit implements some refactorings to avoid loading `pathname`
inside `bundler` test subprocesses.

c1f948788c
2024-06-06 18:44:52 +00:00