[Rails] Rails + TextDrive + Gem question
Justin French
justin.french at indent.com.au
Fri Feb 18 00:27:42 GMT 2005
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 at indent.com.au
Web Application Development & Graphic Design
More information about the Rails
mailing list