At a Windows command prompt, the following Ruby script executes just fine: class Array def new_method() "Hello" end end puts [""].new_method However, browsing to this script on my localhost (apache2) gives a NoMethodError: undefined method `new_method' for [""]:Array I've tried with both mod_ruby and fastcgi bindings, but I can't get it to work. Is there a config. setting I'm missing?