Welcome Guest | Login

Mod_rails upgrade problem

I have an application that is running in two separate hosting rails accounts -- that running under a clustered mongrel configuration and the other as a mod_rails deployment. Both environments have been stable for a long time.

I've recently upgraded the application to run based on rails 2.1.1 (and I've frozen rails).

The upgrade for my mongrel-based account went smoothly.

The upgrade for my mod_rails account is having problems. It appears that rails is choking on some of the newer rails syntax in my environment.rb file. For example, it complains on:

config.gem 'mislav-will_paginate', :lib => 'will_paginate', :source => http://gems.github.com'

with the message: Illformed requirement [{:source=>"http://gems.github.com", :lib=>"will_paginate"}]

And, if I comment that line out, it complains about:

config.time_zone = 'Eastern Time (US & Canada)'

saying that time_zone is an undefined method.

Given that this code worked perfectly under mongrel, it leads me to wonder whether mod_rails supports the latest version of rails? Or is there something else going on?

Thanks very much!

2008-09-23 04:22 PM

Hello,

Please update the exact URL and steps that is required to recreate the issue. Also I couldnt get the details of your multiple accounts. Since we need more account specific details do post us a support ticket rather than updating this forum thread with those details.

Also You can update this thread once this issue is fixed.

2008-09-23 05:17 PM

Regards,
Rahul

Hello Guest! In order to post you must be an active client with us, please log in or sign up.