RubyScript? (Or, running Ruby scripts in the browser)
Dion Almaer has a go at implementing a basic Ruby scripting system for Web pages (or, as I call it, "RubyScript"). If you want to play with it, there's a live demo available here. Despite the slowness of loading the JRuby Java applet behind the scenes, it's works well once it's up.