summaryrefslogtreecommitdiff
path: root/test/ruby/test_array.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2024-07-08 18:02:03 +0200
committergit <svn-admin@ruby-lang.org>2024-07-10 08:04:07 +0000
commit7e612b7414280c49ccc633cdf392f61e7acf2970 (patch)
tree6906bb6b0c5af00338ceb804efa904f0b7be3dc8 /test/ruby/test_array.rb
parent182822683f86c8f8d63b05765addf5a04d112aa2 (diff)
[rubygems/rubygems] Fix strange error when running `bundle add` with frozen mode set
If Gemfile is empty and there's no lockfile (situation after `bundle init`), and `frozen` is configured, running `bundle add` will result in an strange error, like this: ``` $ 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 fixes the problem to instead print https://github.com/rubygems/rubygems/commit/152331a9dc
Diffstat (limited to 'test/ruby/test_array.rb')
0 files changed, 0 insertions, 0 deletions