Tuesday, April 22, 2008

mod_rails + edge rails

Based on a recent conversation at phusion passenger google group, there is a bug wherein mod_rails fails to start its spawner for an application that uses edge rails.

Basically, you'll get this error (complaining about a failed 'to_constant_name' somewhere):

  Framework that failed to load:
Vendor directory: /path/to/vendor/rails
Error message:
Anonymous modules have no name to be referenced by
Exception class:

More info about the bug can be found in the bug report filed by hongli

update: This seems to be fixed in edge rails + git passenger (though I havn't tried yet), as hongli's comment below says.


Anonymous said...
This comment has been removed by a blog administrator.
Hongli Lai said...

This issue has been fixed in edge Rails.

jorrel said...

Nice, thanks for the update!