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:
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.
When attempting to run the
bundle installcommand I received the error: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
bundlerBecause theGemfile.lockspecifies:When I run
bundle installit downgrades to1.17.1:The fix is simple, alter the
Gemfile.lockto declare it was bundled with2.4.5.