Forum: Ruby on Rails FeedTools/FeedUpdater and Rails1.2 Problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B64b6a5eceabf52d71345805f2caefa9?d=identicon&s=25 Robert Jones (jonesieboy)
on 2007-03-05 13:58
FeedUpdater has stopped working now that I have upgrade to Rails 1.2.2

When I run script/feed_updater start I get:


/usr/local/lib/site_ruby/1.8/rubygems.rb:196:in `activate': can't
activate activesupport (= 1.3.1), already activated activesupport-1.4.1]
(Gem::Exception)
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:214:in `activate'
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:213:in `activate'
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:66:in
`active_gem_with_options'
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:59:in
`require_gem'
        from ./config/boot.rb:28
        from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:495:in
`require'
        from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:342:in
`new_constants_in'
        from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:495:in
`require'
        from /home/jonesieboy/scotedublog/seb/lib/custom_updater.rb:2
        from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:488:in
`load'
        from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:342:in
`new_constants_in'
        from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:488:in
`load'
        from script/feed_updater:269

Any help gratefully received.

Robert Jones
http://www.jonesieboy.co.uk/blog
B64b6a5eceabf52d71345805f2caefa9?d=identicon&s=25 Robert Jones (jonesieboy)
on 2007-03-05 17:43
Solved it myself - the problem is with RAILS_GEM_VERSION='1.1.6' in
environment.rb.  Once I commented that out eveything started working
again.  Happy days!
This topic is locked and can not be replied to.