Re: junebugwiki error on startup

Nick Coyne
2008-01-15T13:06:01Z

Thanks, I''m making some progress. I''m getting different errors
at least
:)

When I run rake update:everything I get:

can''t activate activesupport (= 1.4.4), already activated
activesupport-2.0.2]
/usr/local/lib/site_ruby/1.8/rubygems.rb:319:in `activate''
/usr/local/lib/site_ruby/1.8/rubygems.rb:337:in `activate''
/usr/local/lib/site_ruby/1.8/rubygems.rb:336:in `each''
/usr/local/lib/site_ruby/1.8/rubygems.rb:336:in `activate''
/usr/local/lib/site_ruby/1.8/rubygems.rb:337:in `activate''
/usr/local/lib/site_ruby/1.8/rubygems.rb:336:in `each''
...

And ruby wiki run gives:

/usr/local/lib/site_ruby/1.8/rubygems.rb:319:in `activate'':
can''t
activate activesupport (= 1.4.4), already activated activesupport-2.0.2]
(Gem::Exception)
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:337:in `activate''
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:336:in `each''
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:336:in `activate''
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:337:in `activate''
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:336:in `each''
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:336:in `activate''
        from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require''
        from wiki:7

What to do next?

thx
Nick


namelessjon wrote:
> The reason for the problem is you don''t have the latest junebug
gem.
>
> After version 0.0.18, the gem became known as
''junebug-wiki'' and is
> now on v0.0.37, though that version is currently slightly broken (due
> to the AR 2.0 changes), and you will need to follow the instructions
> in the release notes (once you have upgraded the gem) to get it to
> upgrade your stylesheets, java, etc.  You will probably also need to
> install the specific gem versions used.  If you want to generate new
> junebug wikis, you will also need to edit the junebug execuatable
> (probably  /usr/bin/junebug ) to incorporate the line
>
> gem ''activesupport'', ''<=1.4.4''
>
> just after the "require ''rake''" line.
>
> (The actual reason you''re getting the error you are getting is
because
> in rubygems 1.x.x, the require_gem command became just
''gem'' )
>
> Hope this helps,
> Jon