I’m a php programmer trying to learn Ruby. I’m used to testing my scripts in the browser so I want to use eruby to embed code into html files.
I followed the instructions here and that works fine, until I cause a script error.
Which apparently messes up the http headers and causes a 500 server error. Needless to say, php doesn’t do that to me when my scripts puke. I don’t feel like checking server error logs to debug my Ruby scripts.
Is eruby supposed to output errors to the browser? And if so, any ideas on what is messed up on my end?