Hello, I have posted this question in a couple different forums, but I'm narrowing the problem down and thought I'd post here as well to see if anyone can help me.
I'm deploying a Rails application to a new production server and am running into a problem. When I start the server with "script/server production" (which uses stock Ruby because of the "#!/usr/bin/env ruby" at the top), I can navigate to the main page with no problems. However, when I change the first line of script/server to "#!/opt/ ruby- enterprise-.../bin/ruby" and start the server with "script/server production", the server starts, but navigating to the main page in a browser gives me this error: ActionView::TemplateError (uninitialized constant Haml::Filters::Markdown) in app/views/sessions/new.haml I also get that error when starting Passenger, by the way, but I started using "script/server production" to test. When I do the same with "script/console production", regardless of whether the hash-bang line points to standard Ruby or REE, "Haml::Filters::Markdown" comes back with no problems. Using REE's version of gem, I can see that the haml, RedCloth, and BlueCloth gems are all installed. However, I believe haml is being used as a plugin, and the relevant files are in vendor/plugins/haml. So there's some clear difference between standard and enterprise Ruby here, and I can't figure out what's wrong. The gem seems to be installed under both, and the plugin is in a common directory so I don't think that needs to be reinstalled with REE... Any suggestions as to what is going on or what steps I can take to troubleshoot? Thanks in advance! -- You received this message because you are subscribed to the Google Groups "Haml" 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/haml?hl=en.
