Hi, Just wondering what the collective wisdom is regarding whether the environment.rb file should have a "RAILS_GEM_VERSION = ''1.1.6''" type line set or not? I noted on Dreamhost previously after a rails upgrade my site wasn''t working, after which I can to do and change this parameter to align with the latest Dreamhost deployed version of Rails. So should I not be setting this parameter such that when Dreamhost upgrades my site doesn''t die? Tks Greg --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Unpacking rails (whatever version your app needs) into the vendor directory is the "safest" way to ensure everything keeps working. On 2/4/07, Greg Hauptmann <greg.hauptmann.ruby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi, > > Just wondering what the collective wisdom is regarding whether the > environment.rb file should have a "RAILS_GEM_VERSION = ''1.1.6''" type line > set or not? > > I noted on Dreamhost previously after a rails upgrade my site wasn''t > working, after which I can to do and change this parameter to align with the > latest Dreamhost deployed version of Rails. So should I not be setting > this parameter such that when Dreamhost upgrades my site doesn''t die? > > Tks > Greg > > > >-- Thanks, -Steve http://www.stevelongdo.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 Greg, I take it that you''re using Rails Gem. If this is the case I recommend that you do the following: a) update your version environment.rb file to reference the correct version of Rails. b) execute ''rake rails:update'' in the root of your rails application c) rake rails:freeze:gems d) if you''re using 3rd party gems within your application, then do the following: http://nubyonrails.com/articles/2005/12/22/freeze-other-gems-to-rails-lib-directory e) upload to your server Good luck, -Conrad On 2/4/07, Greg Hauptmann <greg.hauptmann.ruby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > > Just wondering what the collective wisdom is regarding whether the > environment.rb file should have a "RAILS_GEM_VERSION = ''1.1.6''" type line > set or not? > > I noted on Dreamhost previously after a rails upgrade my site wasn''t > working, after which I can to do and change this parameter to align with the > latest Dreamhost deployed version of Rails. So should I not be setting > this parameter such that when Dreamhost upgrades my site doesn''t die? > > Tks > Greg > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
tks guys --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---