ruby.js source library needed to run your code.
To get Red working, install the rubygem.
sudo gem install red
Create the files
test.red in the same directory:
red test on the command line. Open
test.html and check the output in Firebug and you’ll see:
#<Test:0x3cf635> It worked!
For comparison, execute
ruby test.red on the command line, and you’ll find the output to be equivalent.
Red integrates seamlessly with Rails. Check out the Tutorial: Red for Rails, or navigate to your project and run:
Have a problem? Tell us about it. Submit a ticket to the project page at Lighthouse.
Last edited by Andrew565,