Forum: Ruby on Rails problem with ruby gem activate when trying to run actionpack

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Cb33b32bd5d675db7be148542976e510?d=identicon&s=25 Sam Joseph (Guest)
on 2006-01-02 17:15
(Received via mailing list)
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

I'm following the instructions here:

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]
from d:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:162:in `activate'
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:in `activate'
from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:23:in `re
from d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.4/lib/active_suppo
rt/dependencies.rb:214:in `require'
from ./controller/../abstract_unit.rb:7
from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `re
from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `re
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.

This topic is locked and can not be replied to.