[Nitro] Maybe I'm cranky ... (Re: blog example)

Jonathan Buch john at oxyliquit.de
Thu Jun 21 01:13:27 EDT 2007


> Since I wanted to run the example against the repo, and not my Nitro gem
> installation, I skipped calling 'rubygems'.  However, that means none of
> the assorted dependencies get loaded.

here's how you do that:

require "path/to/nitro/script/glycerin.rb" # this will set up nitro paths.
require "rubygems"
require "nitro"

This will load nitro from the repo, and the rest from Rubygems.


Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

More information about the Nitro-general mailing list