Freezing 1.1.6

I’ve been slowly working my way backwards through my troubles and I
realized that I do have access to the old server so maybe I ought to
head back there to figure some of this out.

I have an app that is running on rails 1.1.6. I want to move it to a
web host that is running 2.0.2.

The first step, it seemed to me, was to freeze it.
http://support.tigertech.net/freeze-rails

But rake rails:freeze:gems didn’t work:
[myapp]% rake rails:freeze:gems
(in /users/home/somebody/sites/myapp)
rake aborted!
Don’t know how to build task ‘rails:freeze:gems’

(See full trace by running task with --trace)

I tried to specify the version in my environment.rb:

RAILS_GEM_VERSION = ‘1.1.6’ unless defined? RAILS_GEM_VERSION

but that isn’t cutting it. It still breaks down when it starts loading
gems (line 52, if I comment that out, line 53):
52 require ‘active_support’
53 require ‘active_record’
54 require ‘action_controller’
55 require ‘action_mailer’
56 require ‘action_web_service’

http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/3e8564f6b0885a74/9fec5466dfa034a5#9fec5466dfa034a5
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/d6cd34bbc9d52bc7/03180960f81c452b#03180960f81c452b

Amanda wrote:

I’ve been slowly working my way backwards through my troubles and I
realized that I do have access to the old server so maybe I ought to
head back there to figure some of this out.

I have an app that is running on rails 1.1.6. I want to move it to a
web host that is running 2.0.2.

The first step, it seemed to me, was to freeze it.
http://support.tigertech.net/freeze-rails

But rake rails:freeze:gems didn’t work:
[myapp]% rake rails:freeze:gems
(in /users/home/somebody/sites/myapp)
rake aborted!
Don’t know how to build task ‘rails:freeze:gems’

hmm…
just try downloading 1.1.6
http://github.com/rails/rails/tarball/v1.1.6

and stick this into your vendor/rails directory
should just work?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs