Re: junebugwiki error on startup

Nick Coyne
2008-01-15T13:07:39Z

P.S. my /usr/bin/junebug file now looks like this:

#!/usr/bin/ruby1.8
#
# This file was generated by RubyGems.
#
# The application ''junebug-wiki'' is installed as part of a
gem, and
# this file is here to facilitate running it.
#

require ''rubygems''
gem ''activesupport'', ''<=1.4.4''

version = ">= 0"

if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then
  version = $1
  ARGV.shift
end

gem ''junebug-wiki'', version
load ''junebug''

Nick Coyne wrote:
> 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