Skip to content
kwerle edited this page Aug 9, 2012 · 6 revisions

This page provides a brief tutorial on how to get up and running with Ruleby.

First, make sure you have Ruby installed.

Installing the Gem
Download the Ruleby Gem from RubyForge, and install the Gem with the following command

gem install ruleby

You may want to use RVM and create a gemset if you are just playing about and install the ruleby gem in there.
Downloading the Source
Install an Git, and enter the following command
git clone git://github.com/Codalytics/ruleby.git

Change directories to ‘examples’
cd ruleby/examples

Execute the Hello World example
ruby hello.rb

You should see the following output
Hello World
Goodbye World