Welcome Guest | Login

rails 2.2.2

We have upgraded our development env to Rails 2.2.2
Is Rails 2.2.2 available on your servers?

Erez

2008-11-30 11:15 AM

Yes, Rails 2.2.2 is installed on the server. You can verify this using the following command.

---------
gem list rails
---------

2008-11-30 11:35 AM

Regards,
Rahul
When I ran "gem list rails" just now, the highest version shown is 2.1.2.  

My dev environment is 2.2.2.  ... what do I need to do to get the app environment to match?

2008-12-08 12:01 AM

If all men were just, there would be no need of valor.
-- Agesilaus, 440 BC
I've installed rails version 2.2.2 on the server now. Please verify.

2008-12-08 12:31 AM

Verified 2.2.2, thanks!

2008-12-08 07:38 AM

If all men were just, there would be no need of valor.
-- Agesilaus, 440 BC
Hmmm, app blew up when I tried to change my deployment environment to 2.2.2 and restart.  Top of error message from the mongrel log:
/usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:530:in `send': undefined method `cache_template_loading=' for ActionView::Base:Class (NoMethodError)
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:530:in `initialize_framework_settings'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:529:in `each'
Gem issues?  I'd try to diagnose but I'm clueless on gems.

2.2.2 version of my app does have a few new lines in inflections.rb file in /Config/Initializers folder, but they ran fine on local 2.2.2 environment.

2008-12-09 10:41 PM

If all men were just, there would be no need of valor.
-- Agesilaus, 440 BC
Disregard.  Googled the error message and found the solution.  Must remove the following line from production.rb:

config.action_view.cache_template_loading = true

2008-12-09 10:50 PM

If all men were just, there would be no need of valor.
-- Agesilaus, 440 BC

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