Solution for: #56: Passenger can't find a shared module in Rails
file names should match class names
- kueda on June 23, 2009, 08:32 PM UTC
The rails convention is to keep file names matching model names, but I guess I had forgotten, and Mongrel didn't really care. However, it wasn't until I renamed Shared::Sweepers to Shared::SweepersModule that Passenger actually started the app successfully. I'm not sure why it's so finicky (could it possibly ignore files that don't contain classes of modules with the same name, or vice versa?!), but it seemed to fix things.