What does running "gem env" give you?

Are u using the default installed Ruby or MacPorts ?

Ryan

On Dec 16, 2008, at 12:16 PM, Kristopher Schlesser wrote:

Hi everyone,

I've been having some painful issues w/ my local Rails environment,  
which is running on a Mac Pro OSX 10.5.5

Specifically, I'm trying to create a database by running rake  
db:create.  When I try to run that command I get the following error:

Missing the Rails  gem. Please `gem install -v= rails`, update your  
RAILS_GEM_VERSION setting in config/environment.rb for the Rails  
version you do have installed, or comment out RAILS_GEM_VERSION to use  
the latest version installed.

I've done the gem install -v=rails for v.2.2.2.  And I even tried  
installing v.2.1.1 (just to see if that would work).  And I tried  
commenting out RAILS_GEM_VERSION, but no dice.  I keep getting the  
same error.

Has anyone ever had this problem and/or have an idea as to how to  
resolve it?  Any help is greatly appreciated.

Happy Holidays to all,

Kris



--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---

Reply via email to