diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2024-07-08 18:21:34 +0200 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-07-10 08:04:07 +0000 |
| commit | 133fec4ce933e5a37de84c9c002bb998b4d8acb2 (patch) | |
| tree | ccffd1bbe6c47e8ec5bd0cb7f3c1107b6ed3e341 /test/ruby/test_lambda.rb | |
| parent | 7e612b7414280c49ccc633cdf392f61e7acf2970 (diff) | |
[rubygems/rubygems] Fix another strange error when running `bundle add` in frozen mode
If there's a lockfile, but it's out of sync with the Gemfile because a
dependency has been deleted, and frozen mode is set, Bundler will print
the following strange error:
```
$ bundle add rake
, but the lockfile can't be updated because frozen mode is set
You have deleted from the Gemfile:
* rake (~> 13.2)
Run `bundle install` elsewhere and add the updated Gemfile to version control.
```
This commit changes the error to:
```
Some dependencies were deleted from your gemfile, but the lockfile can't be updated because frozen mode is set
You have deleted from the Gemfile:
* rake (~> 13.2)
Run `bundle install` elsewhere and add the updated Gemfile to version control.
```
https://github.com/rubygems/rubygems/commit/452da4048d
Diffstat (limited to 'test/ruby/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions
