I wanted to load my Ruby scripts in the browser, i.d. http://domain.org/foo.rb, but I got a bunch of “Premature end of script headers” errors and I ended up using Eruby instead. ( Not to mention the htaccess headache and the endless combinations of the shebang line I tried before realizing I should check the Apache error log, but that is my stubborn mistake. )
Has anyone managed to get this working? I’m tired of typing ‘
’ at the end of every “puts”.
Thanks a lot.