Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

How to use this gem for Rails4 #33

Open
datnt opened this issue Jul 10, 2014 · 2 comments
Open

How to use this gem for Rails4 #33

datnt opened this issue Jul 10, 2014 · 2 comments

Comments

@datnt
Copy link

datnt commented Jul 10, 2014

Thank you fnando for great gem.

I was using this on Rails3 and it worked just fine.

After install this gem for Rails4, and provide config/initializer/paypal.rb, we had this error:

/config/initializers/paypal.rb:3:in <top (required)>': uninitialized constant Paypal (NameError) from /Users/danbrown/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.1.0/lib/rails/engine.rb:648:inblock in load_config_initializer'
from /Users/danbrown/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-4.1.0/lib/active_support/notifications.rb:161:in instrument' from /Users/danbrown/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.1.0/lib/rails/engine.rb:647:inload_config_initializer'

@fnando
Copy link
Owner

fnando commented Jul 10, 2014

That's strange. I'm using it with Rails 4.1. Can you replicate this error in a sample app?

Nando Vieira

Em 10/07/2014, às 01:09 AM, datnt [email protected] escreveu:

Thank you fnando for great gem.

I was using this on Rails3 and it worked just fine.

After install this gem for Rails4, and provide config/initializer/paypal.rb, we had this error:

/config/initializers/paypal.rb:3:in <top (required)>': uninitialized constant Paypal (NameError)
from /Users/danbrown/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.1.0/lib/rails/engine.rb:648:inblock in load_config_initializer'
from /Users/danbrown/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-4.1.0/lib/active_support/notifications.rb:161:in instrument'
from /Users/danbrown/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.1.0/lib/rails/engine.rb:647:inload_config_initializer'


Reply to this email directly or view it on GitHub.

@Theminijohn
Copy link

Maybe late, but I had the same Problem:

You are using Paypal instead of PayPal

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants