Open datnt opened 10 years ago
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 notifications@github.com 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.
Maybe late, but I had the same Problem:
You are using Paypal
instead of PayPal
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:in
block 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:ininstrument' from /Users/danbrown/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.1.0/lib/rails/engine.rb:647:in
load_config_initializer'