0

I am getting this error

Your Ruby version is 2.5.1 but your Gemfile specified 2.4.0

How can i fix this or atleast upgrade Ruby on Gemfile.

2 Answers2

2

You probably have ruby '2.4.0' line in your Gemfile somewhere. Change it to ruby '2.5.1'.

Marek Lipka
  • 50,622
  • 7
  • 87
  • 91
1

Your app's Ruby version is '2.4.0' whereas the installed Ruby version on your system is '2.5.1'.

If your application should be running in '2.4.0' then install then run rvm install 2.4.0.

If it's okay to upgrade your app's Ruby version, change ruby '2.4.0' to ruby '2.5.1' in you Gemfile.

Hope this helped.

Ravi Teja Dandu
  • 466
  • 2
  • 7