So, we set up a project on a new Digital Ocean droplet and the cron jobs started failing.
Not just that, the log file that we had set up to track the cron was showing up empty!
After a lot of head scratching, I had a look at
Whenever I get this error, I have to again do a google search. So, this post is for me not to do that again!
Could not find 'bundler' (2.1.4) required by your .Gemfile.lock. (Gem::GemNotFoundException) To update to the latest version installed on your system, run `bundle update --bundler`. To install the missing version, run `gem install bundler:2.1.4`
Unfortunately, the suggestions don’t quite work.
The correct way to fix this is to run these three commands:
gem install --default bundler gem update --system bundler update --bundler
Courtesy of StackOverflow. (The correct answer on StackOverflow didn’t quite work either!)