tansengming/stripe-rails

Help installing gem

Ray-Sutton opened this issue · 1 comments

After following the installation steps and attempting to bundle the gem:

rails generate stripe:install
/Users/rs/.rvm/gems/ruby-2.3.0/gems/stripe-rails-0.4.1/lib/stripe/engine.rb:20:in block in <class:Engine>': undefined method secret_key' for #Hash:0x007fbd7f3e1400 (NoMethodError)

Any help? Thanks in advance!

@Ray-Sutton 0.4.1 is a pretty old version of the gem. You might have better luck trying the latest version, i.e. 1.4.1. Let me know how that goes.