Your Ruby version is 2.0.0, but your Gemfile specified 2.2.2

Asked

Viewed 112 times

4

I can’t spin the bundle install in my project, when I spin it appears Your Ruby version is 2.0.0, but your Gemfile specified 2.2.2.

But I’ve already made one rbenv local 2.2.2and when I spin the rbenv version he returns me 2.2.2 (set by /Users/..., if he says I’m already in 2.2.2 then why doesn’t he turn the bundle install?

Obs.: I would not like to change the Gemfile.

  • 1

    With the ruby -version command, returns what value?

  • I unraveled everything and installed again and it worked :S @Douglasgaldino mto thanks.

1 answer

0

Delete gemfile.lock and from Bundle install see what happens.

If you don’t solve try searching gemfile.lock for that version of Ruby, it might be that some Gem specifies it.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.