[Nitro] Nitro 0.40, spark

Robert Mela rob at robmela.com
Tue Nov 21 21:42:24 EST 2006

I figured spark and flare would be the perfect apps to learn nitro from, 
better than reading the docs ;)

I'm trying a few different ways to run it:

1) directly from repo.nitroproject.org

Check out repo.nitroproject.org, cd to the spark directory, and run:

~/nitro/repo.nitroproject.org/spark robertmela$ ruby -I../nitro/lib 
-I../glue/lib -I../og/lib -I../gen/lib -I 
/usr/local/lib/ruby/gems/1.8/gems/facets-1.4.5/lib -rubygems app.rb

It does at least start (after configuring the db in app.rb).   It gets 
as far as an exception "*undefined local variable or method `ogmanager' 
for WikiPage:Class", *on the first page request, but that's enough to 
keep me happy for now ;)

2) install gems from rubyforge, incl. facets-1.4.5 dependency, and 
*uninstall* more recent versions of facets.

I get as far as the exception with "helper Sitemap not found" as 
described in http://www.nitroproject.org/tickets/35

I'm a little uncomfortable with the quickfix, esp. as I don't understand 
what functionality might be lost with the "sitemap" line changes.

So, what exactly does the quickfix do, and what's the general approach 
for the real fix ( and when will the real fix be released -- maybe as 
0.40.1... )?

Thanks in advance.


Here's the exception:

/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:149:in `activate': can't 
activate facets (= 1.4.5), already activated facets-1.7.46] (Gem::Exception)
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:167:in `activate'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:166:in `activate'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:167:in `activate'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:166:in `activate'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:167:in `activate'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:166:in `activate'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:26:in `require'
        from app.rb:3

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rob.vcf
Type: text/x-vcard
Size: 116 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061121/51039265/attachment.vcf 

More information about the Nitro-general mailing list