Edit/run/test your Ruby code directly online with my online Ruby code editor---an online IRB and RSpec tester! I use JRuby Sandbox to prevent malicious code (like "system" commands) from getting through. You must use at least version 0.2.2! I use the [Ace Editor] (http://ace.c9.io/) integrated with Rails, implemented through the [jQuery-ace-rails] (https://github.com/cheef/jquery-ace-rails) gem.
I use AJAX and jQuery throughout, so you don't need to reload the main page. Thus my site works super fast!
-
Upload your RSpec test code (with no "require_relative" or "spec_helper" statements).
-
Upload your Ruby code.
-
With 1 click, run RSpec test against your Ruby code!
-
Edit Ruby code directly in browser! Save on your computer.
- Code editor does not work with "gets" statement.
- Code editor freezes during infinite loops.
I am adding multiple testers and multiple coders, so companies/schools may use this to test the software skills of job applicants/students.
Raymond Gan (rayning AT yahoo DOT com) @rgan0