Missing the Rails 2.0.2 gem (Leopard) .. but it's there !

Hello

I am trying to test my first rails app example under Leopard (using XCode as stated on Apple site (http://developer.apple.com/tools/developonrailsleopard.html) .. i have been using Rails for a while under Tiger, it seems there is a mess in all Rails libs.. why this mess ? what should I get rid off ?

I get the following error in the Debugger...

Erwin wrote:

I get the following error in the Debugger...

---------------------------------- Missing the Rails 2.0.2 gem. Please `gem install -v=2.0.2 rails`, update your ....

BUT

yves$ rails -v Rails 2.0.2

Is this rails the one in /usr/bin? XCode will use that one by default. In a terminal window, run:

type rails

to see. If you are using Locomotive and have upgraded that to Rails 2.0.2 then XCode won't see it. In that case, in your terminal:

export PATH=/usr/bin:$PATH

and run the commands in the tutorial again to update RubyGems and Rails...

thanks I believe it's not , so XCode is not using the right one...

yves$ type rails rails is hashed (/usr/local/bin/rails)

so I updated usr/local/bin/rails (the one I was using with Tiger) and XCode was using usr/bin/rails... got it .. up and running fine now

can I get rid off usr/local/bin/rails ??? I think so (?)

what did you do to get it working?

i ended up following the instructions here: http://discussions.apple.com/thread.jspa?messageID=6893327 in order to update the version that xcode is using, but i'd like to have xcode point to /usr/local/bin/rails instead of /usr/bin/rails.