So, I''m using TextDrive hosting. I did a gem install for my rails application. How should I do upgrades? And am I at risk if TextDrive does an upgrade of their gems? Thanks, Joe
On 18/02/2005, at 9:52 AM, Joe Van Dyk wrote:> So, I''m using TextDrive hosting. I did a gem install for my rails > application. > > How should I do upgrades? And am I at risk if TextDrive does an > upgrade of their gems?Yes, we do update to the latest and greatest Rails version all the time. The answer is to lock your application to a certain Rails/AR/AM/AP version in environment.rb. eg: require_gem ''activerecord'', ''= 1.6.0'' require_gem ''actionpack'', ''= 1.4.0'' require_gem ''actionmailer'', ''= 0.6.1'' require_gem ''rails'', ''= 0.9.5'' When you''ve locally tested the new Rails version and are ready for the new gem live, just change environment.rb as needed. --- Justin French, Indent.com.au/TextDrive justin.french-zULN+VWqVOIpAS55Wn97og@public.gmane.org Web Application Development & Graphic Design
On Fri, 18 Feb 2005 11:27:42 +1100, Justin French <justin.french-zULN+VWqVOIpAS55Wn97og@public.gmane.org> wrote:> On 18/02/2005, at 9:52 AM, Joe Van Dyk wrote: > > > So, I''m using TextDrive hosting. I did a gem install for my rails > > application. > > > > How should I do upgrades? And am I at risk if TextDrive does an > > upgrade of their gems? > > Yes, we do update to the latest and greatest Rails version all the > time. The answer is to lock your application to a certain > Rails/AR/AM/AP version in environment.rb. > > eg: > > require_gem ''activerecord'', ''= 1.6.0'' > require_gem ''actionpack'', ''= 1.4.0'' > require_gem ''actionmailer'', ''= 0.6.1'' > require_gem ''rails'', ''= 0.9.5'' > > When you''ve locally tested the new Rails version and are ready for the > new gem live, just change environment.rb as needed. >Wow, that''s pretty nifty. Thanks!