thoughtbot/fake_stripe

Redefine dependency on `stripe` gem

Closed this issue · 2 comments

cllns commented

Right now the stripe gem is listed as a development dependency.

But it's actually a run-time dependency, since the instructions say to set Stripe.api_key and the Stripe constant is not defined (without adding the Stripe gem to my Gemfile).

It might be possible to remove the dependency on Stripe, I'm not sure.

(I'm using only Stripe.js, not the stripe gem, which is how I found this)

cllns commented

Also, the README will need to be updated, I think, to put fake_stripe in both :test and :development environments.

Closing this because fake_stripe has been deprecated: #154