# \>= option in config.gem

**URL:** <https://www.ruby-forum.com/t/option-in-config-gem/172945>\
**Category:** Rails\
**Created:** [July 30, 2009, 12:43pm UTC](https://www.ruby-forum.com/t/option-in-config-gem/172945 "2009-07-30T12:43:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sijo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/da6949/32.png) [@sijo](https://www.ruby-forum.com/u/sijo)\
**Post date:** [July 30, 2009, 12:43pm UTC](https://www.ruby-forum.com/t/option-in-config-gem/172945/1 "2009-07-30T12:43:58Z")

</div>

Hi

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  
Sijo

---

<div class="post-metadata">

**Author:** ![sijo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/da6949/32.png) [@sijo](https://www.ruby-forum.com/u/sijo)\
**Post date:** [July 30, 2009, 1:36pm UTC](https://www.ruby-forum.com/t/option-in-config-gem/172945/2 "2009-07-30T13:36:11Z")

</div>

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](http://www.relywebsolutions.nl)
