views:

25

answers:

1

I have a problem occurred while upgrading the rails version from 1.2.3 to 2.3.4. Here is the problem.. I had updated the rails version to 2.3.4. When i tries to run the application am getting the following error:

Undefined method 'cache_template_extensions' for Actionview::Base::class.

I tried for the solution. Most of the people recommended to remove the cache_template_extension from config/environments/development.rb file.

But i didn't found cache_template_extension in environment/development.rb file. Please kindly help me with this.

Thank you

A: 

hi josh

Even i would like to give you a full backtrace, but I was unable to do that,coz am using VMware player as a console to run the application.But this doesn't have mouse access, So and even i was unable to copy the error.

To tell you cleary, my problem is

I have upgraded my rails version from 1.2.3 to 2.3.4. But i was not able to run the application. When i tries to run the application by ruby script/server am getting the following error

Undefined method 'cache_template_extensions' for Actionview::Base::class.

And also its showing error in ruby/tasks which presents in the rakefile of my application.

For these two issues i have removed 'cache_template_extensions' from the config/environments/development.rb and as well as I had upgraded the rake and rake-tasks gem according to the latest version of rails.

After doing the above steps i tried to run the application, but still am getting the same error.

To check on which version the application to run, I tried to run ruby script/about command, in which I ends up with the same error.

SO could u please help m with this.

Thank you.

sam