<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/spec/bundler/runtime/self_management_spec.rb, branch v4.0.3</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Merge RubyGems/Bundler 4.0.5</title>
<updated>2026-02-10T01:38:24+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2026-02-10T01:07:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=87b544b8c4400ef2b37405f132846e5c3738213b'/>
<id>87b544b8c4400ef2b37405f132846e5c3738213b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Don't create an empty bundled_app when setting up deps</title>
<updated>2025-07-25T02:10:36+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-07-23T15:41:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=63c422377543a8d8ec8efc4aacb6c0f1a8533ff7'/>
<id>63c422377543a8d8ec8efc4aacb6c0f1a8533ff7</id>
<content type='text'>
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).

https://github.com/rubygems/rubygems/commit/4bf89c0705
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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).

https://github.com/rubygems/rubygems/commit/4bf89c0705
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Remove some unnecessary `artifice` arguments</title>
<updated>2025-07-25T02:10:35+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-07-23T17:18:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bc5b594946bf116cc77f63a4a0bdc1ae2bd708c4'/>
<id>bc5b594946bf116cc77f63a4a0bdc1ae2bd708c4</id>
<content type='text'>
Since `sys_exec` does not actually set it.

https://github.com/rubygems/rubygems/commit/abc0fd0599
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since `sys_exec` does not actually set it.

https://github.com/rubygems/rubygems/commit/abc0fd0599
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Simulate Bundler 4 in a better way</title>
<updated>2025-06-25T23:06:48+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-06-18T20:08:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=90085f62fb793f47e43b64acf6a32900ba8e6e4d'/>
<id>90085f62fb793f47e43b64acf6a32900ba8e6e4d</id>
<content type='text'>
Overriding the version constant feels too magic and creates a set of
problems. For example, Bundler will lock the simulated version, and that
can cause issues when the lockfile is used under an environment not
simulating Bundler 4 (it will try to auto-install and auto-switch to a
version that does not exist).

On top of that, it can only be configured with an ENV variable which is
not too flexible.

This commit takes a different approach of using a setting, which is
configurable through ENV or `bundle config`, and pass the simulated
version to `Bundler::FeatureFlag`. The real version is still the one set
by `VERSION`, but anything that `Bundler::FeatureFlag` controls will use
the logic of the "simulated version".

In particular, all feature flags and deprecation messages will respect
the simulated version, and this is exactly the set of functionality that
we want users to be able to easily try before releasing it.

https://github.com/rubygems/rubygems/commit/8129402193
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Overriding the version constant feels too magic and creates a set of
problems. For example, Bundler will lock the simulated version, and that
can cause issues when the lockfile is used under an environment not
simulating Bundler 4 (it will try to auto-install and auto-switch to a
version that does not exist).

On top of that, it can only be configured with an ENV variable which is
not too flexible.

This commit takes a different approach of using a setting, which is
configurable through ENV or `bundle config`, and pass the simulated
version to `Bundler::FeatureFlag`. The real version is still the one set
by `VERSION`, but anything that `Bundler::FeatureFlag` controls will use
the logic of the "simulated version".

In particular, all feature flags and deprecation messages will respect
the simulated version, and this is exactly the set of functionality that
we want users to be able to easily try before releasing it.

https://github.com/rubygems/rubygems/commit/8129402193
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix `Bundler.original_env['GEM_HOME']` when Bundler is trampolined</title>
<updated>2025-06-24T03:10:50+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-06-19T10:26:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7a297ad2f999a49ea0796592921f5358480cc9bb'/>
<id>7a297ad2f999a49ea0796592921f5358480cc9bb</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/4c450eb05e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/4c450eb05e
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Remove no longer necessary workarounds for restarts</title>
<updated>2025-06-24T03:10:50+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-06-19T15:01:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=32a9f29cc8695a4d8f51276e47e2aae898d1ce40'/>
<id>32a9f29cc8695a4d8f51276e47e2aae898d1ce40</id>
<content type='text'>
Since we no longer pass ruby CLI flags in our spec commands, we no
longer need the previous workaround and can get the realworld code
tested.

https://github.com/rubygems/rubygems/commit/fd92c855fb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we no longer pass ruby CLI flags in our spec commands, we no
longer need the previous workaround and can get the realworld code
tested.

https://github.com/rubygems/rubygems/commit/fd92c855fb
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip to Bundler 4 directly</title>
<updated>2025-06-19T01:23:36+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-06-10T14:11:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=441f18df5279ba8f921015dcdd9ed1e7299660e9'/>
<id>441f18df5279ba8f921015dcdd9ed1e7299660e9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Allow enabling "Bundler 3 mode" more easily</title>
<updated>2025-06-19T01:23:36+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2023-03-13T13:28:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4245d522b2af5c17a08b3555ffed011a5aa508b2'/>
<id>4245d522b2af5c17a08b3555ffed011a5aa508b2</id>
<content type='text'>
Currently to test Bundler 3 mode we have to actually edit the version
file to simulate we're running a future version. This is inconvenient.

Instead, allow passing an environment variable, `BUNDLER_3_MODE`, to set
the "working mode" Bundler should use.

This can now be set easily by end users to enable them to try out the
changes in the future version and give us feedback.

It's unclear how version auto-switching should work when this
environment variable is set, so the auto-switching feature will be
disabled in that case.

https://github.com/rubygems/rubygems/commit/4e92e9b209
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently to test Bundler 3 mode we have to actually edit the version
file to simulate we're running a future version. This is inconvenient.

Instead, allow passing an environment variable, `BUNDLER_3_MODE`, to set
the "working mode" Bundler should use.

This can now be set easily by end users to enable them to try out the
changes in the future version and give us feedback.

It's unclear how version auto-switching should work when this
environment variable is set, so the auto-switching feature will be
disabled in that case.

https://github.com/rubygems/rubygems/commit/4e92e9b209
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Make self management specs independent from version of Bundler</title>
<updated>2025-06-05T10:12:42+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-05-29T16:31:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=417210c0ec6b172cccfe3137db8a460d81c05371'/>
<id>417210c0ec6b172cccfe3137db8a460d81c05371</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/1257bd161e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/1257bd161e
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge RubyGems-3.6.2 and Bundler-2.6.2</title>
<updated>2024-12-23T22:21:10+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-12-23T20:02:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9e0eb9778d557ef59a541a65be658040951de5be'/>
<id>9e0eb9778d557ef59a541a65be658040951de5be</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
