I am trying to put a website into production, but the system keeps changing its mind about which version of Ruby I have. First it complains that my ruby version is 2.4.1 and the version in my Gemfile is 2.3.3 so I go into the Gemfile and change it. Once changed it works fine to start with, then I run another command and it changes its mind and says the opposite (that the Ruby version 2.4.1 but I have 2.3.3 in my Gemfile)!!
What the hell?
Fixed it. Had to run rvm remove 2.4.1
then do a new bundle install.
It's giving a whole host of new errors now, but they don't appear to be related to the the above problem.