I''m having trouble upgrading my app from rails 2.2.2 to 2.3.2. I''ve successfully installed the 2.3.2 gem (when I type ''rails -v'' i get "Rails 2.3.2") and I''ve changed the environment.rb file to use 2.3.2, but ''rake rails:update'' doesn''t seem to do anything and when I try to run script/about it says rails 2.2.2 is being used. I have also used ''rake rails:unfreeze''. I''m not sure what else to try so any suggestions are welcome. Thanks in advance.
Check there is not a rails folder in vendor. If there is, delete it. 2009/5/1 ih <irvin.hwang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> > I''m having trouble upgrading my app from rails 2.2.2 to 2.3.2. I''ve > successfully installed the 2.3.2 gem (when I type ''rails -v'' i get > "Rails 2.3.2") and I''ve changed the environment.rb file to use 2.3.2, > but ''rake rails:update'' doesn''t seem to do anything and when I try to > run script/about it says rails 2.2.2 is being used. I have also used > ''rake rails:unfreeze''. I''m not sure what else to try so any > suggestions are welcome. Thanks in advance. > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
That worked, thanks. I thought unfreeze was doing it, but I did not check and it turns out I needed to have super user permission. On May 1, 10:22 am, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> Check there is not a rails folder in vendor. If there is, delete it. > > 2009/5/1 ih <irvin.hw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > > > > I''m having trouble upgrading my app from rails 2.2.2 to 2.3.2. I''ve > > successfully installed the 2.3.2 gem (when I type ''rails -v'' i get > > "Rails 2.3.2") and I''ve changed the environment.rb file to use 2.3.2, > > but ''rake rails:update'' doesn''t seem to do anything and when I try to > > run script/about it says rails 2.2.2 is being used. I have also used > > ''rake rails:unfreeze''. I''m not sure what else to try so any > > suggestions are welcome. Thanks in advance.
Sounds like you did the freeze as root. That''s not a very good idea. On May 1, 8:29 am, ih <irvin.hw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> That worked, thanks. I thought unfreeze was doing it, but I did not > check and it turns out I needed to have super user permission. > > On May 1, 10:22 am, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > Check there is not a rails folder in vendor. If there is, delete it. > > > 2009/5/1 ih <irvin.hw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > > > I''m having trouble upgrading my app from rails 2.2.2 to 2.3.2. I''ve > > > successfully installed the 2.3.2 gem (when I type ''rails -v'' i get > > > "Rails 2.3.2") and I''ve changed the environment.rb file to use 2.3.2, > > > but ''rake rails:update'' doesn''t seem to do anything and when I try to > > > run script/about it says rails 2.2.2 is being used. I have also used > > > ''rake rails:unfreeze''. I''m not sure what else to try so any > > > suggestions are welcome. Thanks in advance.