Your Ruby version is 2.0.0, but your Gemfile specified 2.2.2

4

I can not run bundle install in my project, when s Your Ruby version is 2.0.0, but your Gemfile specified 2.2.2 appears.

But I've already done a rbenv local 2.2.2 and when I run the rbenv version it returns me 2.2.2 (set by /Users/... , if it says that I'm already in 2.2.2 then why does it not bundle install ?

Note: I would not like to change Gemfile .

    
asked by anonymous 14.01.2016 / 11:44

1 answer

1

Delete gemfile.lock and bundle install see what happens.

If it does not resolve, try looking in gemfile.lock for this version of ruby, maybe some gem specifies it.

    
17.01.2016 / 01:15