Hi, stack trace is not showing like it should (in the browser). Instead I get public/500.html rendered. The problem seems to be recreated when I created a new rails project and apply the haml plugin. Originally I though it was this ruby script causing the problem:
class ToHaml
def initialize(path)
@path = path
end
def convert!
Dir["#{@path}/**/*.erb"].each do |file|
`html2haml -rx #{file} #{file.gsub(/\.erb$/, '.haml')}`
`rm #{file}`
end
end
end
path = File.join(File.dirname(__FILE__), 'app', 'views')
ToHaml.new(path).convert!
I though it might have deleted an erb template used to show the stack trace. That doesn't appear to be the case because I can't find any template for that in app/views.
So it must be the haml plugin which is causing the problem
haml --rails MyRubyApp
Not sure how, but after I run this stack traces no longer display in the browser (just the 500.html). I've tried explicitly launching the server in development mode without any effect.
Anybody have insight on this? Thanks in advance.