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
on 2010-05-24 15:47
on 2010-05-24 17:06
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.
on 2010-05-24 21:02
> 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
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.