Forum: Typo How to lock Typo to Rails 1.0?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sean M. (Guest)
on 2006-03-29 07:03
(Received via mailing list)
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?


/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
        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
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:37:in
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:31:in
        from .../typo/public/../config/environment.rb:8
        from .../typo/public/dispatch.fcgi:21:in `require'
        from .../typo/public/dispatch.fcgi:21
Dean S. (Guest)
on 2006-03-29 07:24
(Received via mailing list)
`svn export
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.
Steve L. (Guest)
on 2006-03-29 07:24
(Received via mailing list)
Try running:

rake freeze_edge REVISION=3303

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

Nicholas Van W. (Guest)
on 2006-03-29 08:02
(Received via mailing list)

This worked great on Textdrive for me.

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

Robert Ivanc (Guest)
on 2006-03-29 11:56
(Received via mailing list)

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 Ivanc (Guest)
on 2006-03-29 14:32
(Received via mailing list)
never mind. old processes were still running...
This topic is locked and can not be replied to.