# Updating your rails application?

**URL:** <https://www.ruby-forum.com/t/updating-your-rails-application/122037>\
**Category:** Rails\
**Created:** [December 4, 2007, 1:39am UTC](https://www.ruby-forum.com/t/updating-your-rails-application/122037 "2007-12-04T01:39:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [December 4, 2007, 1:39am UTC](https://www.ruby-forum.com/t/updating-your-rails-application/122037/1 "2007-12-04T01:39:08Z")

</div>

How can I update my rails application to work with the current release  
of rails? For example, I had rails 0.9 and created an application. I  
installed the will paginate plugin and now the application can’t run.  
I upgraded everything and created a new test application, installed  
the plugin and it works. However, my old application doesn’t work.

So basically, what I’m getting at is, each time a new version of rails  
comes out, how can I update my application so that it’ll reflect the  
current release of rails? Thanks!

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [December 4, 2007, 1:42am UTC](https://www.ruby-forum.com/t/updating-your-rails-application/122037/2 "2007-12-04T01:42:39Z")

</div>

Just figured it out…for anyone else who was wondering this, it seems  
you replace the config directory with the newest version (careful not  
to overwrite database.yml).

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [December 4, 2007, 2:21am UTC](https://www.ruby-forum.com/t/updating-your-rails-application/122037/3 "2007-12-04T02:21:46Z")

</div>

There is also “rake rails:update” for newer versions.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [December 4, 2007, 9:42pm UTC](https://www.ruby-forum.com/t/updating-your-rails-application/122037/4 "2007-12-04T21:42:01Z")

</div>

On Dec 3, 2007 7:21 PM, Tim M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> There is also “rake rails:update” for newer versions.

This works great if you use some sort of version control like  
subversion. I let the update overwrite all files it wants to then I  
revert the unwanted changes.

–  
Greg D.  
[http://destiney.com/](http://destiney.com/)
