Problem with ruby gem activate when trying to run actionpack


#1

Hi There,

so I worked out what I should be doing to try and contribute code to
rails (I’m currently working on patches for collection_select and
auto_link).

I’m following the instructions here:

http://dev.rubyonrails.org/

and have checked out actionpack. Trying to run the actionpack tests I
get this error:

D:\User\Code\ruby\actionpack\test>ruby controller/base_test.rb
d:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:144:in activate': can't activate act ivesupport (= 1.2.3), already activated activesupport-1.2.4] (Gem::Exception) from d:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:162:inactivate’
from d:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:161:in each' from d:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:161:inactivate’
from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:23:in re quire' from d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.4/lib/active_suppo rt/dependencies.rb:214:inrequire’
from ./controller/…/abstract_unit.rb:7
from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in re quire__' from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:inre
quire’
from controller/base_test.rb:1

Rails itself runs fine for me. I’ve been looking for information on the
web about what it means to “activate” a rubygem, but have been
singularly unsuccessful. I see other people encountering these kinds of
problems on this list, but as yet I have not seen any information about
what causes these problems.

I would love to work out how to fix this, and test the fixes I have.

Many thanks in advance.

CHEERS> SAM