<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/bundler/cli.rb, branch v4.0.2</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] Allow to show cli_help with bundler executable</title>
<updated>2025-12-16T02:36:10+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-12-16T02:09:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=060199910afeccd4c81f90beebbd406799c05c46'/>
<id>060199910afeccd4c81f90beebbd406799c05c46</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/a091e3fd10
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/a091e3fd10
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Fix indentation of the info message for default_cli_command</title>
<updated>2025-12-09T01:37:51+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2025-12-08T11:24:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=19172d64ebe909f185e28b1d8368a8a920f94a8b'/>
<id>19172d64ebe909f185e28b1d8368a8a920f94a8b</id>
<content type='text'>
* It looked like:
            In a future version of Bundler, running `bundle` without argument will no longer run `bundle install`.
            Instead, the `cli_help` command will be displayed. Please use `bundle install` explicitly for scripts like CI/CD.
            You can use the future behavior now with `bundle config set default_cli_command cli_help --global`,
            or you can continue to use the current behavior with `bundle config set default_cli_command install --global`.
            This message will be removed after a default_cli_command value is set.
  Bundler version 4.0.0 (2025-12-08 commit https://github.com/ruby/rubygems/commit/9b4819ae18)
* And now looks like:
  In a future version of Bundler, running `bundle` without argument will no longer run `bundle install`.
  Instead, the `cli_help` command will be displayed. Please use `bundle install` explicitly for scripts like CI/CD.
  You can use the future behavior now with `bundle config set default_cli_command cli_help --global`,
  or you can continue to use the current behavior with `bundle config set default_cli_command install --global`.
  This message will be removed after a default_cli_command value is set.

  Bundler version 4.0.0 (2025-12-08 commit https://github.com/ruby/rubygems/commit/9b4819ae18)

https://github.com/ruby/rubygems/commit/979dada8f3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* It looked like:
            In a future version of Bundler, running `bundle` without argument will no longer run `bundle install`.
            Instead, the `cli_help` command will be displayed. Please use `bundle install` explicitly for scripts like CI/CD.
            You can use the future behavior now with `bundle config set default_cli_command cli_help --global`,
            or you can continue to use the current behavior with `bundle config set default_cli_command install --global`.
            This message will be removed after a default_cli_command value is set.
  Bundler version 4.0.0 (2025-12-08 commit https://github.com/ruby/rubygems/commit/9b4819ae18)
* And now looks like:
  In a future version of Bundler, running `bundle` without argument will no longer run `bundle install`.
  Instead, the `cli_help` command will be displayed. Please use `bundle install` explicitly for scripts like CI/CD.
  You can use the future behavior now with `bundle config set default_cli_command cli_help --global`,
  or you can continue to use the current behavior with `bundle config set default_cli_command install --global`.
  This message will be removed after a default_cli_command value is set.

  Bundler version 4.0.0 (2025-12-08 commit https://github.com/ruby/rubygems/commit/9b4819ae18)

https://github.com/ruby/rubygems/commit/979dada8f3
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Fix the config suggestion in the warning for `$ bundle`</title>
<updated>2025-12-09T01:37:50+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2025-12-05T12:04:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fab94ecd344b5804f9a1e6b38082049f37bacbd3'/>
<id>fab94ecd344b5804f9a1e6b38082049f37bacbd3</id>
<content type='text'>
* `install_or_cli_help` does not exist for older Bundler like Bundler 2
  and so results in a confusing error on Bundler 2:
  ```
  $ bundle
  Could not find command "".
  ```
* See https://github.com/ruby/rubygems/pull/9136/files#r2592366837
* Merge the behavior of `install_or_cli_help` in `install`.

https://github.com/ruby/rubygems/commit/9b4819ae18
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* `install_or_cli_help` does not exist for older Bundler like Bundler 2
  and so results in a confusing error on Bundler 2:
  ```
  $ bundle
  Could not find command "".
  ```
* See https://github.com/ruby/rubygems/pull/9136/files#r2592366837
* Merge the behavior of `install_or_cli_help` in `install`.

https://github.com/ruby/rubygems/commit/9b4819ae18
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Make BUNDLE_LOCKFILE environment variable have precedence over lockfile method in Gemfile</title>
<updated>2025-12-02T08:25:17+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2025-12-01T03:16:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=456ba321a84d34e76c8837ac96f47a11457480cb'/>
<id>456ba321a84d34e76c8837ac96f47a11457480cb</id>
<content type='text'>
It would be simpler to do `options[:lockfile] ||= ENV["BUNDLE_LOCKFILE"]`,
but that doesn't work as `options` is frozen.

Fixes https://github.com/ruby/rubygems/pull/9117

https://github.com/ruby/rubygems/commit/6e3603a0e9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It would be simpler to do `options[:lockfile] ||= ENV["BUNDLE_LOCKFILE"]`,
but that doesn't work as `options` is frozen.

Fixes https://github.com/ruby/rubygems/pull/9117

https://github.com/ruby/rubygems/commit/6e3603a0e9
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Improve banner message for the default command.</title>
<updated>2025-12-02T03:39:58+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-12-02T02:39:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7df97983be41e893afee6d0012c6dced55ff98f8'/>
<id>7df97983be41e893afee6d0012c6dced55ff98f8</id>
<content type='text'>
Co-authored-by: Benoit Daloze &lt;eregontp@gmail.com&gt;

https://github.com/ruby/rubygems/commit/463488b439

Co-authored-by: Patrik Ragnarsson &lt;patrik@starkast.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Benoit Daloze &lt;eregontp@gmail.com&gt;

https://github.com/ruby/rubygems/commit/463488b439

Co-authored-by: Patrik Ragnarsson &lt;patrik@starkast.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Add informational message when default_cli_command is unset.</title>
<updated>2025-11-28T23:50:00+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-11-28T10:23:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a9d2a46d64ead4dae8491c2f93b9e86416006fd4'/>
<id>a9d2a46d64ead4dae8491c2f93b9e86416006fd4</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/9e44b5ebc4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/9e44b5ebc4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Print help summary when the default command fail</title>
<updated>2025-11-28T23:50:00+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2025-11-26T19:03:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=69293f52550032cbda8d92188407b8700f4c3bb1'/>
<id>69293f52550032cbda8d92188407b8700f4c3bb1</id>
<content type='text'>
As mentioned in https://github.com/ruby/rubygems/issues/9124,
the intent for changing the default command was to be more welcoming.

I think we can acheive that by attempting to install, but to print
that same help message if there is no Gemfile.

That should address both concerns.

https://github.com/ruby/rubygems/commit/f3f505c02a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As mentioned in https://github.com/ruby/rubygems/issues/9124,
the intent for changing the default command was to be more welcoming.

I think we can acheive that by attempting to install, but to print
that same help message if there is no Gemfile.

That should address both concerns.

https://github.com/ruby/rubygems/commit/f3f505c02a
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Restore `install` as default command</title>
<updated>2025-11-28T23:49:59+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2025-11-26T17:58:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7dae2a1f488afc4133dfbd6ea243aaeb71107f71'/>
<id>7dae2a1f488afc4133dfbd6ea243aaeb71107f71</id>
<content type='text'>
Fix: https://github.com/ruby/rubygems/issues/9124

This behavior is a deeply entrenched convention and changing it
will annoy lots of developers with unclear gains.

https://github.com/ruby/rubygems/commit/628e0ede46
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix: https://github.com/ruby/rubygems/issues/9124

This behavior is a deeply entrenched convention and changing it
will annoy lots of developers with unclear gains.

https://github.com/ruby/rubygems/commit/628e0ede46
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Support bundle install --lockfile option</title>
<updated>2025-11-25T08:09:52+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2025-11-23T04:31:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e920ee32894dcd2ab0f97ff6f45c29d65024da0c'/>
<id>e920ee32894dcd2ab0f97ff6f45c29d65024da0c</id>
<content type='text'>
This allows for specifying the lockfile to read and write. It mirrors
the --gemfile option, and has higher priority than the lockfile
method in the Gemfile. It also mirrors the bundle lock --lockfile
option.

When the --lockfile option is used, it is applied twice. First, before
the Gemfile is read, to specify the lockfile to operate on, and again
after the Gemfile is read, so that if the Gemfile has a lockfile
method that overrides the defintion's lockfile, the --lockfile option
still has higher precedence.

https://github.com/ruby/rubygems/commit/17acdd4a89
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows for specifying the lockfile to read and write. It mirrors
the --gemfile option, and has higher priority than the lockfile
method in the Gemfile. It also mirrors the bundle lock --lockfile
option.

When the --lockfile option is used, it is applied twice. First, before
the Gemfile is read, to specify the lockfile to operate on, and again
after the Gemfile is read, so that if the Gemfile has a lockfile
method that overrides the defintion's lockfile, the --lockfile option
still has higher precedence.

https://github.com/ruby/rubygems/commit/17acdd4a89
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Add support for bundle install --no-lock</title>
<updated>2025-11-20T23:01:03+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2025-11-09T00:03:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1562803e5103dea3949027e61672fa82f26782fd'/>
<id>1562803e5103dea3949027e61672fa82f26782fd</id>
<content type='text'>
This allows for the same behavior as including `lockfile false`
in the Gemfile. This allows you to get the behavior without
modifying the Gemfile, which is useful if you do not control the
Gemfile.

This is similar to the --no-lock option already supported by
`gem install -g Gemfile`.

https://github.com/ruby/rubygems/commit/6c94623881

Co-authored-by: Colby Swandale &lt;996377+colby-swandale@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows for the same behavior as including `lockfile false`
in the Gemfile. This allows you to get the behavior without
modifying the Gemfile, which is useful if you do not control the
Gemfile.

This is similar to the --no-lock option already supported by
`gem install -g Gemfile`.

https://github.com/ruby/rubygems/commit/6c94623881

Co-authored-by: Colby Swandale &lt;996377+colby-swandale@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
