I have a client that is losing his hosting account in a few days when his hosting company shuts down. I now have to do a speedy migration of their Rails 1.2.6 site to a new host (Blue Host), but I can't even get the site to run on my development server. The current roadblock is that I keep getting an error about an undefined constant, but looking at the source code it's actually coming from a model that is based on another model, and the constant name in the error is the name of the parent model. Is there something I need to do to make sure this parent model gets pre-loaded or so that Rails can find it? It's in the models directory along with the child model.

Also, is there any way to tell which gems are required in a Rails 1.2.6 project?