Skip to content
Brian Maddy edited this page Nov 11, 2013 · 4 revisions

This Tutorial is known to work with om version 3.0.4.
Please update this wiki to reflect any other versions that have been tested.

Goals

  • Create a project that has om installed as a dependency

Steps

Step 1: Create a new project

To get started, you will create a new folder, set up a Gemfile to install OM, and then run bundler.

mkdir omtest
cd omtest

Step 2: Create a Gemfile for the project

Using whichever editor you prefer, create a file (in omtest directory) called Gemfile with the following contents:

source 'http://rubygems.org'
gem 'om'

Step 3: Run bundler

Now run bundler to install the gem: (you will need the bundler Gem)

bundle install

You should now be set to use irb to run the following examples.

Next Step

Go on to Lesson: Define a basic Terminology or return to the Tame your XML with OM page.