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... ---------------------------------- 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 yves$ gem list *** LOCAL GEMS *** actionmailer (2.0.2, 1.3.5, 1.3.3) actionpack (2.0.2, 1.13.5, 1.13.3) actionwebservice (1.2.6, 1.2.5, 1.2.3) activerecord (2.0.2, 1.15.5, 1.15.3) activeresource (2.0.2) activesupport (2.0.2, 1.4.4, 1.4.2) ambition (0.5.2, 0.2.2) capistrano (2.2.0, 2.0.0) cgi_multipart_eof_fix (2.5.0, 2.3) daemons (1.0.9, 1.0.7) fastthread (1.0.1, 1.0) gem_plugin (0.2.3, 0.2.2) highline (1.4.0) hoe (1.5.1, 1.3.0) mongrel (1.1.4, 1.0.1) mysql (2.7) needle (1.3.0) net-sftp (1.1.1, 1.1.0) net-ssh (1.1.2) ParseTree (2.1.1, 2.0.1) rails (2.0.2, 1.2.3) rake (0.8.1, 0.7.3) ruby-debug (0.10.0, 0.9.3) ruby-debug-base (0.10.0, 0.9.3) rubyforge (0.4.4) rubygems-update (1.0.1) RubyInline (3.6.6, 3.6.4) sources (0.0.1) sqlite3-ruby (1.2.1) termios (0.9.4) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Mark Bush
2008-Mar-09 14:44 UTC
Re: Missing the Rails 2.0.2 gem (Leopard) .. but it''s there
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.2Is 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... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 (?) On 9 mar, 15:44, Mark Bush <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> 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... > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Neil Blake
2008-Mar-27 07:08 UTC
Re: Missing the Rails 2.0.2 gem (Leopard) .. but it''s there
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. On Mar 9, 10:14 am, Erwin <yves_duf...-ee4meeAH724@public.gmane.org> wrote:> thanks > I believeit''snot , so XCode is not using the right one... > > yves$ typerailsrailsis 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... > gotit.. up and running fine now > > can I get rid off usr/local/bin/rails ??? I think so (?) > > On 9 mar, 15:44, Mark Bush <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > > Erwin wrote: > > > I get the following error in the Debugger... > > > > ---------------------------------- > > > Missing theRails2.0.2 gem. Please `gem install -v=2.0.2rails`, > > > update your .... > > > >BUT > > > > yves$rails-v > > >Rails2.0.2 > > > Is thisrailsthe one in /usr/bin? XCode will use that one by default. > > In a terminal window, run: > > > typerails > > > to see. If you are using Locomotive and have upgraded that toRails > > 2.0.2 then XCode won''t seeit. In that case, in your terminal: > > > export PATH=/usr/bin:$PATH > > > and run the commands in the tutorial again to update RubyGems and > >Rails... > > > -- > > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---