Hi,

Everything was working fine until I went to use ActiveMerchant.
Have spent a few hours trying to figure this out with no success.

Here's the error I'm getting

** Starting Rails with development environment...
Exiting
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:445:in
`load_missing_constant': uninitialized constant ActiveMerchant
(NameError)

And in environment.rb I have

unless RAILS_ENV == 'production'
    PAYPAL_ACCOUNT = '[email protected]'
    ActiveMerchant::Billing::Base.mode = :test
  else
    PAYPAL_ACCOUNT = '[email protected]'
  end

Appreciate anyone kind enough to help me out. Can't get my head around
this and holding me back.

Cheers
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to