# Activemerchant + activesupport install/dependency issues

**URL:** <https://www.ruby-forum.com/t/activemerchant-activesupport-install-dependency-issues/161087>\
**Category:** Rails\
**Created:** [February 23, 2009, 10:31am UTC](https://www.ruby-forum.com/t/activemerchant-activesupport-install-dependency-issues/161087 "2009-02-23T10:31:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 23, 2009, 10:31am UTC](https://www.ruby-forum.com/t/activemerchant-activesupport-install-dependency-issues/161087/1 "2009-02-23T10:31:41Z")

</div>

Hi all:

Saw the awesome railscasts episode on activemerchant and am going to  
give it a try, but keep running into this install problem that I can’t  
figure out: after installing activemerchant as a gem, my rake keep  
aborting with this error:

/Library/Ruby/Site/1.8/rubygems.rb:149:in `activate’: can’t activate  
activesupport (\>= 1.4.1, runtime), already activated  
activesupport-2.1.0 (Gem::Exception)

I’ve tried uninstalling all the gems and reinstalling, installing  
activemerchant 1.4.0 to no avail. No info that I can find on this  
error that I can find either. Help would be much appreciated!

BTW, not sure if this trace from rake gems:install with trace is more  
useful:

william$ sudo rake gems:install --trace  
(in /Users/william/Code/lolligift/trunk)  
\*\* Invoke gems:install (first\_time)  
\*\* Invoke gems:base (first\_time)  
\*\* Execute gems:base  
\*\* Invoke environment (first\_time)  
\*\* Execute environment

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 23, 2009, 6:52pm UTC](https://www.ruby-forum.com/t/activemerchant-activesupport-install-dependency-issues/161087/2 "2009-02-23T18:52:54Z")

</div>

activemerchant requires activesupport \>= 2.0.0, and that’s being loaded  
ok.

Then some other gem is requiring activesupport 1.4.1, but since 2.1.0  
is already loaded it can’t load 1.4.1.

You should run gem cleanup to remove old versions of activesupport. If  
that doesn’t fix it, you’ll need to locate the gem that’s requiring  
the older version and try modifying it to take the newer version.
