# How to lock Typo to Rails 1.0?

**URL:** <https://www.ruby-forum.com/t/how-to-lock-typo-to-rails-1-0/89744>\
**Category:** Typo\
**Created:** [March 29, 2006, 5:03am UTC](https://www.ruby-forum.com/t/how-to-lock-typo-to-rails-1-0/89744 "2006-03-29T05:03:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![seanmctex](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/77aa72/32.png) [@seanmctex](https://www.ruby-forum.com/u/seanmctex)\
**Post date:** [March 29, 2006, 5:03am UTC](https://www.ruby-forum.com/t/how-to-lock-typo-to-rails-1-0/89744/1 "2006-03-29T05:03:33Z")

</div>

My hosting provider has upgraded to Rails 1.1 without any warning and  
it looks like all of the hosted Typo installs are down ☹

I tried adding the following to config/environment.rb at the top of  
the file, but by that point the Rails 1.1 libraries have already been  
loaded (not sure how as the calling script is dispatch.fcgi):

require ‘rubygems’  
require\_gem ‘activesupport’, ‘= 1.3.0’  
require\_gem ‘activerecord’, ‘= 1.13.2’  
require\_gem ‘actionpack’, ‘= 1.11.2’  
require\_gem ‘actionmailer’, ‘= 1.1.5’  
require\_gem ‘actionwebservice’, ‘= 1.0.0’

So, where should I lock-down the gems to the Rails 1.0 versions?

Thanks,  
Sean

/usr/local/lib/ruby/site\_ruby/1.8/rubygems.rb:149:in `activate': can't activate activesupport (= 1.2.5), already activated activesupport-1.3.0] (Gem::Exception) from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:167:in`activate’  
from /usr/local/lib/ruby/site\_ruby/1.8/rubygems.rb:166:in `each' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:166:in`activate’  
from /usr/local/lib/ruby/site\_ruby/1.8/rubygems.rb:37:in  
`require_gem_with_options' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:31:in`require\_gem’  
from …/typo/public/…/config/environment.rb:8  
from …/typo/public/dispatch.fcgi:21:in `require’  
from …/typo/public/dispatch.fcgi:21

---

<div class="post-metadata">

**Author:** ![seanmctex](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/77aa72/32.png) [@seanmctex](https://www.ruby-forum.com/u/seanmctex)\
**Post date:** [March 29, 2006, 5:24am UTC](https://www.ruby-forum.com/t/how-to-lock-typo-to-rails-1-0/89744/2 "2006-03-29T05:24:05Z")

</div>

`svn export http://dev.rubyonrails.org/svn/rails/tags/rel_1-0-0/ vendor/rails` from your RAILS\_ROOT is supposed to do the trick, but  
it’s still not working for my on Dreamhost. I’d give it a try. It  
_should_ work.

---

<div class="post-metadata">

**Author:** ![seanmctex](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/77aa72/32.png) [@seanmctex](https://www.ruby-forum.com/u/seanmctex)\
**Post date:** [March 29, 2006, 5:24am UTC](https://www.ruby-forum.com/t/how-to-lock-typo-to-rails-1-0/89744/3 "2006-03-29T05:24:47Z")

</div>

Try running:

rake freeze\_edge REVISION=3303

On your Typo install directory. This is the equivalent to the Rails  
1.0gem.

-Steve  
[http://www.stevelongdo.com](http://www.stevelongdo.com)

---

<div class="post-metadata">

**Author:** ![seanmctex](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/77aa72/32.png) [@seanmctex](https://www.ruby-forum.com/u/seanmctex)\
**Post date:** [March 29, 2006, 9:56am UTC](https://www.ruby-forum.com/t/how-to-lock-typo-to-rails-1-0/89744/4 "2006-03-29T09:56:54Z")

</div>

Hi,

I am not sure if this will be at all helpful, but my typo install on  
dreamhost seems to be working just fine, in spite of the rails 1.1  
upgrade. I do run a pretty old revision on it though,  
r760. Maybe it help figuring out where the problems are, if they are  
not already known.

Robert

---

<div class="post-metadata">

**Author:** ![seanmctex](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/77aa72/32.png) [@seanmctex](https://www.ruby-forum.com/u/seanmctex)\
**Post date:** [March 29, 2006, 12:32pm UTC](https://www.ruby-forum.com/t/how-to-lock-typo-to-rails-1-0/89744/5 "2006-03-29T12:32:39Z")

</div>

never mind. old processes were still running…

---

<div class="post-metadata">

**Author:** ![seanmctex](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/77aa72/32.png) [@seanmctex](https://www.ruby-forum.com/u/seanmctex)\
**Post date:** [March 29, 2006, 6:02am UTC](https://www.ruby-forum.com/t/how-to-lock-typo-to-rails-1-0/89744/6 "2006-03-29T06:02:58Z")

</div>

Thanks!

This worked great on Textdrive for me.

And, strangely, I seem to be consuming less memory.

Thanks,  
Nick
