# Updating to Rails 2.0 what files?

**URL:** <https://www.ruby-forum.com/t/updating-to-rails-2-0-what-files/124191>\
**Category:** Rails\
**Created:** [December 26, 2007, 9:20am UTC](https://www.ruby-forum.com/t/updating-to-rails-2-0-what-files/124191 "2007-12-26T09:20:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharkie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/58f4c7/32.png) [@sharkie](https://www.ruby-forum.com/u/sharkie)\
**Post date:** [December 26, 2007, 9:20am UTC](https://www.ruby-forum.com/t/updating-to-rails-2-0-what-files/124191/1 "2007-12-26T09:20:46Z")

</div>

I updated everything in config/enviroments

Is there anything else I must do to ensure Rails 2.0 is working  
properly?

---

<div class="post-metadata">

**Author:** ![sharkie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/58f4c7/32.png) [@sharkie](https://www.ruby-forum.com/u/sharkie)\
**Post date:** [December 27, 2007, 9:00am UTC](https://www.ruby-forum.com/t/updating-to-rails-2-0-what-files/124191/2 "2007-12-27T09:00:49Z")

</div>

Change RAILS\_GEM\_VERSION in config/environment.rb and make sure the gem  
version is set to ‘2.0.2’ or whatever.

Restart your system

You could also freeze Rails to your vendor/ directory using rake  
rails:freeze:edge.

---

<div class="post-metadata">

**Author:** ![sharkie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/58f4c7/32.png) [@sharkie](https://www.ruby-forum.com/u/sharkie)\
**Post date:** [December 28, 2007, 2:23am UTC](https://www.ruby-forum.com/t/updating-to-rails-2-0-what-files/124191/3 "2007-12-28T02:23:37Z")

</div>

There are some routing changes you should be aware of as well. Nested  
new  
calls that were done like this:

blog\_new\_comment\_path

are now done like this:

new\_blog\_comment\_path

You’ll also need to set up a secret key in your config/environment.rb,  
not  
entirely sure on the syntax myself, but your log file should have a nice  
error in it if you’re mongrel is crashing.

–  
Ryan B.

> **[frozenplague.net](http://www.frozenplague.net)**
>
> This domain may be for sale!

Feel free to add me to MSN and/or GTalk as this email.
