/online_irb

A very simple Ruby Interpreter Online, based on Sinatra. See the online demo:

Primary LanguageJavaScript

Browser based IRB

A very simple Ruby Interpreter Online, based on Sinatra

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.