>= option in config.gem


config.gem ‘gemname’, :version => ‘>= 1.2.1’

Could anybody please tell what this actually means? Suppose I have

in my machine version 1.2.1 and 1.2.2 of the gem What expected is it
uses 1.2.1 But what happened is it used 1.2.2 version Is this the
default behavoiur or something wrong

Thanks in advance

Well, you tell it to use a version higher OR equal to 1.2.1 … If you
want it to use only 1.2.1 it should say:

config.gem ‘gemname’, :version => ‘1.2.1’

Hope this helps!

Kind regards,
Jaap H.
w. http://www.relywebsolutions.nl