-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
When attempting to run the bundle install command I received the error:
lib/bundler/shared_helpers.rb:272:in `search_up': undefined method `untaint'
This is because since Ruby 3.2.0 some deprecated methods (taint/trust/untaint/untrust) have been removed,ref: https://bugs.ruby-lang.org/issues/16131 . Bundler version 1.17.3 has that method in shared_helpers.rb.
Even though I'd freshly installed the latest version of bundler Because the Gemfile.lock specifies:
BUNDLED WITH
1.17.1
When I run bundle install it downgrades to 1.17.1:
Bundler 2.4.5 is running, but your lockfile was generated with 1.17.1. Installing Bundler 1.17.1 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
Fetching bundler 1.17.1
The fix is simple, alter the Gemfile.lock to declare it was bundled with 2.4.5.
Metadata
Metadata
Assignees
Labels
No labels