# How to upgrade my version of my rails application

**URL:** <https://www.ruby-forum.com/t/how-to-upgrade-my-version-of-my-rails-application/183365>\
**Category:** Rails\
**Created:** [February 12, 2010, 2:49pm UTC](https://www.ruby-forum.com/t/how-to-upgrade-my-version-of-my-rails-application/183365 "2010-02-12T14:49:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@sam](https://www.ruby-forum.com/u/sam)\
**Post date:** [February 12, 2010, 2:49pm UTC](https://www.ruby-forum.com/t/how-to-upgrade-my-version-of-my-rails-application/183365/1 "2010-02-12T14:49:10Z")

</div>

Hello experts!

```
               I am having problem while upgrading my rails

```

version from 1.2.3 to 2.3.4.  
To tell clearly, 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 me with this.

Thank you.

---

<div class="post-metadata">

**Author:** ![sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@sam](https://www.ruby-forum.com/u/sam)\
**Post date:** [February 16, 2010, 12:56am UTC](https://www.ruby-forum.com/t/how-to-upgrade-my-version-of-my-rails-application/183365/2 "2010-02-16T00:56:13Z")

</div>

Quoting sam [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> Hello experts!
> 
> ```
> I am having problem while upgrading my rails
> 
> ```
> 
> version from 1.2.3 to 2.3.4.

I suggest upgrading from 1.2.3 to 1.2.6, fix the deprecation warnings;  
upgrade  
to 2.0.X, fix any problems, then go to 2.3.4 (or even better 2.3.5, the  
current stable release). You are making too big a jump at once. Take  
smaller  
bites and chew throughly before taking the next 😉

HTH,  
Jeffrey
