Irb Web Interface

I was wondering how to give the Ruby on Rails console a web interface
like this website http://tryruby.hobix.com/.

I highly doubt there’s an easy, secure way to just expose irb like
that. I’d guess that WTLS spent quite a bit of time developing Try
Ruby, so as to ensure that it would work as well as it does, while at
the same time being secure. Obviously allowing everyone in the world
a Ruby interface to your system creates some security headaches, to
put it mildly.

Out of curiosity, why don’t you just use/direct users to Try Ruby?

Pat