Hello all,

I already posted this question on stackoverflow.com, but I figured
there would be more people that could help me here, so I'm posting to
this list as well.

I am in the process of deploying a Rails application (that works fine
in development) to a new production server running Apache and
Passenger (with Ruby Enterprise Edition). When I navigate to the main
page, I get the following in my production.log (along with a 500
Internal Server Error from Apache):

ActionView::TemplateError (uninitialized constant
Haml::Filters::Markdown) in app/views/sessions/new.haml

I have the haml and RedCloth gems installed:

*** LOCAL GEMS ***
[...]
haml (3.0.18)
RedCloth (4.2.3)

That constant is defined when I refer to it in a Rails console:

# script/console production
Loading production environment.
>> Haml::Filters::Markdown
=> Haml::Filters::Markdown

The problem doesn't occur in development, and the gems installed and
codebase are the same as far as I can tell. Any idea what is causing
this?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to