<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/spec/bundler/lock, 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>[ruby/rubygems] Fix triple spacing when generating lockfile</title>
<updated>2025-11-14T00:19:56+00:00</updated>
<author>
<name>Jimmy Lin</name>
<email>jmlntw@gmail.com</email>
</author>
<published>2021-09-05T11:38:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5924765b897dd419bcaf81f34cdfcb49c838af7e'/>
<id>5924765b897dd419bcaf81f34cdfcb49c838af7e</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/d3baf4110e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/d3baf4110e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Now ruby/rubygems is the canonical repository url</title>
<updated>2025-10-20T06:52:54+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-10-20T01:23:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=22ceaf278f66db8e30c0b20aef34750a6de4f3e5'/>
<id>22ceaf278f66db8e30c0b20aef34750a6de4f3e5</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/c637007e91
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/c637007e91
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix `bundle install` when the Gemfile contains "install_if" git gems:</title>
<updated>2025-10-09T11:37:27+00:00</updated>
<author>
<name>Edouard CHIN</name>
<email>chin.edouard@gmail.com</email>
</author>
<published>2025-09-29T00:20:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f96c332f5c00cd0fee0da79b6d415785bfa8d1f8'/>
<id>f96c332f5c00cd0fee0da79b6d415785bfa8d1f8</id>
<content type='text'>
- Fix https://github.com/rubygems/rubygems/pull/8985
- ### Problem

  If you have a Gemfile that contains a `install_if` git gem, it will
  be impossible to add other gems in the Gemfile and run
  `bundle install`, you'll get a "The git source [...] is not yet
  checked out".

  ### Context

  The change that modified this behaviour was in https://github.com/rubygems/rubygems/commit/abbea0cc94dd,
  and the issue is about the call to `current_dependencies`.
  This call filters out irrelevant dependencies such as the one that
  get condtionnally installed. By doing so, we skip over setting
  the source based of the lockfile for that dependency
  https://github.com/rubygems/rubygems/blob/ade324bdc8ea77b342f203cb7f3929a456d725ed/bundler/lib/bundler/definition.rb#L978

  Ultimately, because of this, the dependency source doesn't have
  any additional information such as the `revision`. Down the line,
  when we end up to converge the spec, Bundler will attempt to get the
  revision for that spec but won't be able to because the git source
  isn't configured to allow running git operations.

  ### Solution

  Filter out the irrelevant only spec only after we have set its
  source.

https://github.com/rubygems/rubygems/commit/d2af439671
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Fix https://github.com/rubygems/rubygems/pull/8985
- ### Problem

  If you have a Gemfile that contains a `install_if` git gem, it will
  be impossible to add other gems in the Gemfile and run
  `bundle install`, you'll get a "The git source [...] is not yet
  checked out".

  ### Context

  The change that modified this behaviour was in https://github.com/rubygems/rubygems/commit/abbea0cc94dd,
  and the issue is about the call to `current_dependencies`.
  This call filters out irrelevant dependencies such as the one that
  get condtionnally installed. By doing so, we skip over setting
  the source based of the lockfile for that dependency
  https://github.com/rubygems/rubygems/blob/ade324bdc8ea77b342f203cb7f3929a456d725ed/bundler/lib/bundler/definition.rb#L978

  Ultimately, because of this, the dependency source doesn't have
  any additional information such as the `revision`. Down the line,
  when we end up to converge the spec, Bundler will attempt to get the
  revision for that spec but won't be able to because the git source
  isn't configured to allow running git operations.

  ### Solution

  Filter out the irrelevant only spec only after we have set its
  source.

https://github.com/rubygems/rubygems/commit/d2af439671
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Switch `cache_all` to be `true` by default</title>
<updated>2025-09-19T10:30:10+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>2887858+deivid-rodriguez@users.noreply.github.com</email>
</author>
<published>2025-09-09T17:19:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a4c277733b10ff1ad484689c1a256032c39cea87'/>
<id>a4c277733b10ff1ad484689c1a256032c39cea87</id>
<content type='text'>
And make it a standard setting.

https://github.com/rubygems/rubygems/commit/17e356fa94
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And make it a standard setting.

https://github.com/rubygems/rubygems/commit/17e356fa94
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix outdated lockfile during `bundle lock` when source changes</title>
<updated>2025-09-12T05:03:29+00:00</updated>
<author>
<name>Earlopain</name>
<email>14981592+Earlopain@users.noreply.github.com</email>
</author>
<published>2025-09-10T11:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=98beabd66687b741cd2d72d7e0517ae23100d2ff'/>
<id>98beabd66687b741cd2d72d7e0517ae23100d2ff</id>
<content type='text'>
When the source used to be git and switches back to rubygems,
it is possible that the git source contains a version that
ruybgems doesn't know about yet.

So don't add the locked spec to the base resolve, and also don't add a
lower bound requirement on the version, since the version in the new
source may actually be lower.

https://github.com/rubygems/rubygems/commit/85514e3a1e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the source used to be git and switches back to rubygems,
it is possible that the git source contains a version that
ruybgems doesn't know about yet.

So don't add the locked spec to the base resolve, and also don't add a
lower bound requirement on the version, since the version in the new
source may actually be lower.

https://github.com/rubygems/rubygems/commit/85514e3a1e
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Enforce checksums strictly for registry gems</title>
<updated>2025-08-18T03:31:51+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-07-30T09:48:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8576da4eb4d7dc7a1afb26126192971e787d7c5b'/>
<id>8576da4eb4d7dc7a1afb26126192971e787d7c5b</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/05199ae0c1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/05199ae0c1
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix incorrect error message capitalization</title>
<updated>2025-08-18T03:31:51+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-07-30T09:26:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=50c1faedebf6b8d779e05811398f25bbdf769f0a'/>
<id>50c1faedebf6b8d779e05811398f25bbdf769f0a</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/d41b8d303c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/d41b8d303c
</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] 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>
</feed>
