After upgrading from Ruby 2.3 to a newer version and then doing a bundle install I get the error Could not find 'bundler'.
This happens even after doing gem install bundler.
This is because gem install bundler will install the newer 2.x version of bundler and the Gemfile.lock specifies the version of bundler to use at the bottom.
You can either:
gem install bundler:1.17.3
If this does not work try deleting Gemfile.lock and doing bundle install.
bundle update --bundler
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With