will.lai-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2009-Feb-23 09:31 UTC
activemerchant + activesupport install/dependency issues
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Sarah Mei
2009-Feb-23 17:51 UTC
Re: activemerchant + activesupport install/dependency issues
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. On Mon, Feb 23, 2009 at 1:31 AM, will.lai-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <will.lai-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---