Andrew Grimm
Andrew Grimm

Reputation: 81510

What causes "Your Ruby version is 2.2.3, but your Gemfile specified >= 2.2.3" in bundler?

In my Gemfile, I have

ruby '>= 2.2.3'

and my Ruby version is 2.2.3

ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]

but I get the following error message:

Your Ruby version is 2.2.3, but your Gemfile specified >= 2.2.3

2.2.3 is greater than or equal to 2.2.3, so what's going on?

Upvotes: 2

Views: 237

Answers (1)

Andrew Grimm
Andrew Grimm

Reputation: 81510

I was using an old version of bundler (1.10.6), which unlike the current version didn't support operators like >= with regards to Ruby itself (as opposed to gems).

Upvotes: 4

Related Questions