After updating to Rails 1.2.1 using gem, I updated my project using Rake. Next, I tried verifying the rails version in my app. If you execute "Rails -v", it reports 1.2.1. But if you execute "ruby script\about" it reports Rails 1.1.6, or if you previously used Edge Rails, it report 1.2.0. Does this look like part of the update didn''t take? I created a fresh project using Rails 1.2.1, and it reports the correct version in both. It looks like I either didn''t do something right during the update, or part of the update didn''t get applied. -- 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 -~----------~----~----~----~------~----~------~--~---
Cody Skidmore wrote:> After updating to Rails 1.2.1 using gem, I updated my project using > Rake. Next, I tried verifying the rails version in my app. If you > execute "Rails -v", it reports 1.2.1. But if you execute "ruby > script\about" it reports Rails 1.1.6, or if you previously used Edge > Rails, it report 1.2.0. > > Does this look like part of the update didn''t take? > > I created a fresh project using Rails 1.2.1, and it reports the correct > version in both.Existing projects that are relying on your system-wide gems need config/environment.rb to be manually updated. The environment.rb was generated for you when you initially ran the "rails" command to generate your app, and it hard-codes the version of the rails gem you were using at that time. So just update the value in your environment.rb file. Jeff softiesonrails.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 -~----------~----~----~----~------~----~------~--~---
Jeff Cohen wrote:> Existing projects that are relying on your system-wide gems need > config/environment.rb to be manually updated. The environment.rb was > generated for you when you initially ran the "rails" command to > generate your app, and it hard-codes the version of the rails gem you > were using at that time. So just update the value in your > environment.rb file.Thank you Sir. -- 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 -~----------~----~----~----~------~----~------~--~---