I'm a newbie at Ruby on Rails. I'm trying to update the Gemfile but it keeps giving me this error: "Your Ruby version is 2.3.3, but your Gemfile specified 2.3.0"
The reason I'm trying to update the gem file is because of a security vulnerability:
I'm a newbie at Ruby on Rails. I'm trying to update the Gemfile but it keeps giving me this error: "Your Ruby version is 2.3.3, but your Gemfile specified 2.3.0"
The reason I'm trying to update the gem file is because of a security vulnerability:
The problem is that the installed version of Ruby you have on your system is different to the required version on your app.
You have a few options here:
Gemfile to 2.3.3 so that they matchGemfile so it won’t be specified2.3.0 (Could be a security issue since you will be using an older version of ruby).ruby-version where you specify the ruby version you want to use. By running rbenv install, it will then install the required version of ruby for your app and will use that when in the project directory.After doing any of the above (please pick option 4. When working with many projects it’s much easier), it should work correctly.