Merb-Passenger error: "uninitialized constant Passenger::Railz::ApplicationSpawner::ActionController"

24 views
Skip to first unread message

Nilez Parker

unread,
Jan 13, 2009, 11:12:43 AM1/13/09
to Phusion Passenger Discussions
uninitialized constant
Passenger::Railz::ApplicationSpawner::ActionController

in .../passenger/railz/application_spawner.rb, line 255, in
`preload_application`


This is at DreamHost, by the way.

It seems odd that it's hitting a requirement for Rails constants - is
there something I should be doing that makes it skirt around this?

Daniel Parker

unread,
Jan 13, 2009, 12:43:23 PM1/13/09
to Phusion Passenger Discussions
I've figured it out. Dreamhost, upon any application load error, "nicely" suggests that it happened while evaluating environment.rb. However, when you're not using Rails, that isn't the case. I had assumed Passenger wanted a config/environment.rb file to exist, so I created one. That's what put it in Rails mode.

- daniel parker -
Reply all
Reply to author
Forward
0 new messages