Your Ruby version is 2.2.4, but your Gemfile specified 2.3.0?

Viewed 17559

I'm trying to bundle install a ruby project in Git Bash but I'm getting the above message.

ruby -v

ruby 2.2.4p230 (2015-12-16 revision 53155) [i836-mingw32]

gem -v

2.3.0

New to Ruby so its really frustrating. I'm trying to do the project below http://www.viralrails.com/?p=25

2 Answers

Install bundler after installing ruby 2.4.0.

gem install bundler

If you installed bundler before installing ruby 2.4.0 then you should reinstall bundler or update it.

Also if the above command didn't work.

gem update bundler
Related