# 1.2.1 -\> 1.23 Upgrade; New Projects Frozen at 1.2.1?

**URL:** <https://www.ruby-forum.com/t/1-2-1-1-23-upgrade-new-projects-frozen-at-1-2-1/107949>\
**Category:** Rails\
**Created:** [June 27, 2007, 7:40pm UTC](https://www.ruby-forum.com/t/1-2-1-1-23-upgrade-new-projects-frozen-at-1-2-1/107949 "2007-06-27T19:40:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geoffrey\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/57b2e6/32.png) [@Geoffrey\_W](https://www.ruby-forum.com/u/Geoffrey_W)\
**Post date:** [June 27, 2007, 7:40pm UTC](https://www.ruby-forum.com/t/1-2-1-1-23-upgrade-new-projects-frozen-at-1-2-1/107949/1 "2007-06-27T19:40:34Z")

</div>

Disclaimer: I’m a Rails newbie, be gentle.

I’ve got an Ubuntu Feisty install here. After adding Ruby and Rails  
via Synaptic, I’ve got Rails 1.2.1. To get up to date, I did a “gem  
update rails”. So far, so good, AFAICS.

Now when I create a new project (e.g. “rails new-project”), the config/  
environment.rb points to Rails 1.2.1 in the RAILS\_GEM\_VERSION. Worse,  
there’s a copy of rails in vendor/rails, and according to rails/info/  
properties, it’s 1.2.1.

If I fix the version number in RAILS\_GEM\_VERSION and unfreeze the  
project (rake rails:unfreeze), the project seems to behave as 1.2.3.  
But … i’m assuming I shouldn’t have to do that for a new project.  
Why’s the project frozen from the get-go, and why is it choosing 1.2.1  
when 1.2.3 is available?

I’m totally open to the idea that this is all my fault, but I’m just  
not sure why this is happening. Google searches aren’t really  
helping. Well, that’s not true, they helped me find the workaround,  
but they aren’t helping me find out why this is happening.

- Geoffrey

---

<div class="post-metadata">

**Author:** ![Geoffrey\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/57b2e6/32.png) [@Geoffrey\_W](https://www.ruby-forum.com/u/Geoffrey_W)\
**Post date:** [June 27, 2007, 9:21pm UTC](https://www.ruby-forum.com/t/1-2-1-1-23-upgrade-new-projects-frozen-at-1-2-1/107949/2 "2007-06-27T21:21:47Z")

</div>

Geoffrey W. wrote:

> - Geoffrey

Ubuntu and Synaptic do some really strange stuff with Rails. (ie.  
putting a rails shell script in /bin instead of the proper rails  
executable)

The following worked for me a week ago.

1. Unstall Rails through Synaptic.
2. Install RubyGems per the instructions on [rubyonrails.org](http://rubyonrails.org) (if you  
haven’t already done so).
3. If you’d already installed RubyGems and Rails as a gem before, then  
Synaptic totally screwed up your install. Uninstall the Rails gem.  
.
4. Make sure the shows that you don’t have any versions of  
Rails installed.
5. Install rails as a gem \< gem install rails --include-dependencies \>
6. STOP.

–  
[http://www.5valleys.com/](http://www.5valleys.com/)

---

<div class="post-metadata">

**Author:** ![Geoffrey\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/57b2e6/32.png) [@Geoffrey\_W](https://www.ruby-forum.com/u/Geoffrey_W)\
**Post date:** [June 27, 2007, 9:35pm UTC](https://www.ruby-forum.com/t/1-2-1-1-23-upgrade-new-projects-frozen-at-1-2-1/107949/3 "2007-06-27T21:35:48Z")

</div>

On Jun 27, 3:19 pm, Jon G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Geoffrey W. wrote:

> Ubuntu and Synaptic do some really strange stuff with Rails. (ie.  
> putting a rails shell script in /bin instead of the proper rails executable)

Yeah, I was starting to realize that when I couldn’t get “rails -v” to  
work, and that the only people complaining about it were on Ubuntu  
(and possibly Debian).

> 1. Install rails as a gem \< gem install rails --include-dependencies \>
> 2. STOP.

I’d already done some portion of this and failed to resolve the issue,  
so I really went down to bare metal, took ALL of Ruby/Rails/Rake/irb  
etc out of Synaptic, put back in the bare minimum, and got the rest  
from Ruby Gems.

This seems to have resolved the version issue, the “rails -v” issue,  
and other things. It’s probably true that if I had a really good  
understanding of how Rails should be installed, I could diagnose what  
Ubuntu did that caused the problem and fix it in a much less brute-  
force way, but this approach worked for me. 😉

So I came back to share it, and you’ve just posted something very  
similar. Thanks!

- Geoffrey

---

<div class="post-metadata">

**Author:** ![Geoffrey\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/57b2e6/32.png) [@Geoffrey\_W](https://www.ruby-forum.com/u/Geoffrey_W)\
**Post date:** [June 27, 2007, 9:41pm UTC](https://www.ruby-forum.com/t/1-2-1-1-23-upgrade-new-projects-frozen-at-1-2-1/107949/4 "2007-06-27T21:41:49Z")

</div>

Geoffrey W. wrote:

> So I came back to share it, and you’ve just posted something very  
> similar. Thanks!
> 
> - Geoffrey

Glad to hear you got it going!

–  
[http://www.5valleys.com/](http://www.5valleys.com/)
