I run: sudo gem update rails To get: Updating installed gems... Attempting remote update of rails Successfully installed rails-1.1.6 Gems: [rails] updated But: rails --version Still yields: Rails 1.0.0 Why? Thanks for any feedback -- 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 -~----------~----~----~----~------~----~------~--~---
Hi, you can do the following to update to 1.2 RC 2: gem install rails --source http://gems.rubyonrails.org --include-dependencies Good luck, -Conrad On 1/7/07, Bob Cober <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > I run: > > sudo gem update rails > > To get: > Updating installed gems... > Attempting remote update of rails > Successfully installed rails-1.1.6 > Gems: [rails] updated > > But: > rails --version > > Still yields: > Rails 1.0.0 > > Why? > > Thanks for any feedback > > -- > 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 -~----------~----~----~----~------~----~------~--~---
2007/1/8, Bob Cober <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>:> > I run: > > sudo gem update rails > > To get: > Updating installed gems... > Attempting remote update of rails > Successfully installed rails-1.1.6 > Gems: [rails] updated > > But: > rails --versionAre you using GNU/Linux? If so, did you installed Rails 1.0.0 from gems too? Or using your distro''s packages? What about "gem list"? See ya! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I am using Mac OSX.
gem list
yeilds:
...
rails (1.1.6)
Web-application framework with template engine, control-flow layer,
and ORM.
...
Here it gets funny:
bob-cobers-computer:~/PRJGAME/Rings2 bobcober$ /opt/local/bin/rails
--version
Rails 1.1.6
bob-cobers-computer:~/PRJGAME/Rings2 bobcober$ which rails
/opt/local/bin/rails
bob-cobers-computer:~/PRJGAME/Rings2 bobcober$ rails --version
Rails 1.0.0
bob-cobers-computer:~/PRJGAME/Rings2 bobcober$ /usr/bin/rails --version
Rails 1.0.0
I am going to delete the older one in /usr/bin, but I am confused.
If ''which'' lists /opt/local/bin why is it still using /usr/bin
?
Thanks for any feedback
Imobach Gonzlez Sosa wrote:> 2007/1/8, Bob Cober
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>:
>>
>> But:
>> rails --version
>
> Are you using GNU/Linux? If so, did you installed Rails 1.0.0 from
> gems too? Or using your distro''s packages? What about "gem
list"?
>
> See ya!
--
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@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
> But: > rails --version > > Still yields: > Rails 1.0.0 > > Why?What happens when you do a "which rails" and "whereis rails"? -faisal --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---