Cannot start Rails 2.3.4 app with Passenger

I’m having a heck of a time trying to get my app to start. What is odd
is that I had a Rails 2.0.2 app running on the same server. I upgraded
everything and the app works great in development with Rails 2.3.5.

I’m getting this error:

uninitialized constant error: MysqlSession

The only way I can clear that error is if I include “require
‘mysql_session’” in config/environment.rb.

When I restart the app and reload the page, I get a new error:

uninitialized constant error: AbstractSession

I do the same thing as the previous class. Restart, reload and it then
presents me with the same error and now with one of my app’s models
User!

Why could ruby and passenger find my 2.0.2 Rails app, but not my Rails
2.3.5 app?

Any ideas?

Thanks,

Chris

If I try to run “rake script/console”, it complains about the same
issues. It does not recognize any of my app’s models or plugins.

For some reason it is skipping over initializing all of my models and
plugins. These, of course, are very critical to running the app! I’m
stumped.

Why could ruby and passenger find my 2.0.2 Rails app, but not my Rails
2.3.5 app?

Maybe you need to vendor your rails version?
-rp