# Rails on OS X problem

**URL:** <https://www.ruby-forum.com/t/rails-on-os-x-problem/172810>\
**Category:** Rails\
**Created:** [July 28, 2009, 12:51pm UTC](https://www.ruby-forum.com/t/rails-on-os-x-problem/172810 "2009-07-28T12:51:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wjvander](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/9dc877/32.png) [@wjvander](https://www.ruby-forum.com/u/wjvander)\
**Post date:** [July 28, 2009, 12:51pm UTC](https://www.ruby-forum.com/t/rails-on-os-x-problem/172810/1 "2009-07-28T12:51:43Z")

</div>

Hi All,

So far I have been unable to get rails working on a 10.5.6 OS X  
installation. Every ‘rails’ command ends with the following error:

/Library/Ruby/Site/1.8/rubygems.rb:827:in `report\_activate\_error’:  
RubyGem version error: ruby-openid(2.1.7 not ~\> 2.0.0)  
(Gem::LoadError)

I tried uninstalling and then re-installing ruby-openid, but that  
doesn’t help. Working with rails on Windows and Linux machines was  
never a problem, but this one has me baffled.

Groet,

Willem

---

<div class="post-metadata">

**Author:** ![wjvander](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/9dc877/32.png) [@wjvander](https://www.ruby-forum.com/u/wjvander)\
**Post date:** [July 28, 2009, 3:15pm UTC](https://www.ruby-forum.com/t/rails-on-os-x-problem/172810/2 "2009-07-28T15:15:07Z")

</div>

On Tue, Jul 28, 2009 at 3:18 AM, wjvander[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> So far I have been unable to get rails working on a 10.5.6 OS X  
> installation. Every ‘rails’ command ends with the following error:
> 
> /Library/Ruby/Site/1.8/rubygems.rb:827:in `report\_activate\_error’:  
> RubyGem version error: ruby-openid(2.1.7 not ~\> 2.0.0)  
> (Gem::LoadError)
> 
> I tried uninstalling and then re-installing ruby-openid, but that  
> doesn’t help.

What does `gem list --local ruby-openid` produce?

–  
Hassan S. ------------------------ removed\_email\_address@domain.invalid  
twitter: @hassan

---

<div class="post-metadata">

**Author:** ![wjvander](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/9dc877/32.png) [@wjvander](https://www.ruby-forum.com/u/wjvander)\
**Post date:** [July 28, 2009, 5:25pm UTC](https://www.ruby-forum.com/t/rails-on-os-x-problem/172810/3 "2009-07-28T17:25:06Z")

</div>

On Jul 28, 2009, at 9:04 AM, Hassan S. wrote:

> What does `gem list --local ruby-openid` produce?
> 
> –  
> Hassan S. ------------------------ removed\_email\_address@domain.invalid  
> twitter: @hassan

and “~\> 2.0.0” is the pessimistic version matcher. It is equivalent to:

“\>= 2.0.0”, “\< 2.1”

So 2.1.7 does not satisfy the requirement. Typically, this version  
matcher is used when there is a known incompatibility with a later  
version. Presumably, you can find where the ‘gem “ruby-openid”, “~\>  
2.0.0”’ is located and determine if _that_ code has a more recent  
version.

Alternatively, you could try:

gem install ruby-openid -v “~\>2.0.0”

-Rob

Rob B. [http://agileconsultingllc.com](http://agileconsultingllc.com)  
removed\_email\_address@domain.invalid
