# Upgrading rails

**URL:** <https://www.ruby-forum.com/t/upgrading-rails/122035>\
**Category:** Rails\
**Created:** [December 4, 2007, 1:14am UTC](https://www.ruby-forum.com/t/upgrading-rails/122035 "2007-12-04T01:14:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dangermoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e79b87/32.png) [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Post date:** [December 4, 2007, 1:14am UTC](https://www.ruby-forum.com/t/upgrading-rails/122035/1 "2007-12-04T01:14:01Z")

</div>

Hi folks. I seem to be having trouble upgrading to the latest  
(stable) rails release. I am running on Windows XP sp2 and use  
Komodo. I am trying to go to rails-1.2.6

In the command line today (3DEC07), I did  
gem install rails --include-dependencies  
which returned with  
Successfully installed rails-1.2.6

But in the console, I get

> > Rails::VERSION::STRING  
> > =\> “1.2.3”

I even deleted the temp folder from my app directory but this didn’t  
help. In addition, when I look at the gem source, I see both the old  
as well as new (e.g., folders for both actionpack-1.13.3, and  
actionpack-1.13.6.

---

<div class="post-metadata">

**Author:** ![dangermoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e79b87/32.png) [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Post date:** [December 4, 2007, 2:22am UTC](https://www.ruby-forum.com/t/upgrading-rails/122035/2 "2007-12-04T02:22:53Z")

</div>

Ensure vendor/rails does not exist. Also, be sure you have updated your  
config/environment.rb file with the new version.

---

<div class="post-metadata">

**Author:** ![dangermoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e79b87/32.png) [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Post date:** [December 4, 2007, 4:55am UTC](https://www.ruby-forum.com/t/upgrading-rails/122035/3 "2007-12-04T04:55:02Z")

</div>

Paul D. wrote:

> Hi folks. I seem to be having trouble upgrading to the latest  
> (stable) rails release. I am running on Windows XP sp2 and use  
> Komodo. I am trying to go to rails-1.2.6
> 
> In the command line today (3DEC07), I did  
> gem install rails --include-dependencies  
> which returned with  
> Successfully installed rails-1.2.6
> 
> But in the console, I get
> 
> > > Rails::VERSION::STRING  
> > > =\> “1.2.3”

From your project root run:

rake rails:update

and see if that fixes things

---

<div class="post-metadata">

**Author:** ![dangermoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e79b87/32.png) [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Post date:** [December 4, 2007, 9:46pm UTC](https://www.ruby-forum.com/t/upgrading-rails/122035/4 "2007-12-04T21:46:42Z")

</div>

Thanks all, I tried both suggestions and am now correctly getting  
1.2.6.

---

<div class="post-metadata">

**Author:** ![dangermoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e79b87/32.png) [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Post date:** [December 30, 2007, 10:16pm UTC](https://www.ruby-forum.com/t/upgrading-rails/122035/5 "2007-12-30T22:16:00Z")

</div>

Please remove your responses from this thread, if you don’t mind. I  
already removed mine, but cannot remove the responses of others –  
such  
as yourself. I regret not using an alias, as people can search on my  
name.  
Thanks,  
Paul D.  
removed\_email\_address@domain.invalid

On Dec 3, 8:22 pm, Tim M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![dangermoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e79b87/32.png) [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Post date:** [December 30, 2007, 10:16pm UTC](https://www.ruby-forum.com/t/upgrading-rails/122035/6 "2007-12-30T22:16:35Z")

</div>

Please remove your responses from this thread, if you don’t mind. I  
already removed mine, but cannot remove the responses of others –  
such  
as yourself. I regret not using an alias, as people can search on my  
name.  
Thanks,  
Paul D.  
removed\_email\_address@domain.invalid

On Dec 3, 10:55 pm, James B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
