Bundler troubles in rvm
Had an issue with Capistrano refusing to deploy a rails app to an Ubuntu server (with rvm) on AWS.
Got the error: You must use Bundler 2 or greater with this lockfile.
Updating and installing a new bundler did not work. Looking at the gem versions installed it looked fine, but running
bundle --version
``` revealed that the actual binary was another version entirely. It turns out the binary was not being updated with the installation.
This can be done with the
gem pristine