A very simple Ruby Interpreter Online, based on Sinatra. See the online demo:
JavaScript Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
views
Gemfile
Gemfile.lock
README.md
onlineirb.rb
screenshot.png

README.md

Browser based IRB

A very simple Ruby Interpreter Online, based on Sinatra

Online demo

How to install locally

bundle install

ruby onlineirb.rb

Then you would be able to access localhost:4567 from your browser.

How to use

You can clear the console by:

irb> clear

You also can use ending \ to continue programming, the whole bunch of code would be executed at the statement without \ ending.

screen shot

You can also deploy this project to cloudfoundy.com without any changes required.