quick fix for ruby
right now, ruby will do just minimal checking...
consider using rubinius for running ruby

--HG--
branch : algo