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.
But rake rails:freeze:gems didn’t work:
[myapp]% rake rails:freeze:gems
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’