-
Notifications
You must be signed in to change notification settings - Fork 228
Open
Description
After building with
rails new rails-stripe-membership-saas -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb
I get the following error:
lsoave@basenode:~/test/rails-stripe-membership-saas$ rake db:seed CREATED ADMIN USER: user@example.com rake aborted! Stripe::AuthenticationError: You did not provide an API key, though you did set your Authorization header to "Bearer". Using Bearer auth, your Authorization header should look something like 'Authorization: Bearer YOUR_SECRET_KEY'. See https://stripe.com/docs/api#authentication for details, or we can help at https://support.stripe.com/.
even if Linux env and rails config/secrets.yml seem fine:
lsoave@basenode:~/test/rails-stripe-membership-saas$ echo $STRIPE_API_KEY sk_test_34875ygojg45oj4g5o1j34g34ljr5 lsoave@basenode:~/test/rails-stripe-membership-saas$ echo $STRIPE_PUBLISHABLE_KEY pk_test_l3k4j5;1k3jhnr514kjn5nrlk4nlknrtnnn
lsoave@basenode:~/test/rails-stripe-membership-saas$ grep -i STRIPE config/secrets.yml stripe_api_key: <%= ENV["STRIPE_API_KEY"] %> stripe_publishable_key: <%= ENV["STRIPE_PUBLISHABLE_KEY"] %> stripe_api_key: <%= ENV["STRIPE_API_KEY"] %> stripe_publishable_key: <%= ENV["STRIPE_PUBLISHABLE_KEY"] %>
Metadata
Metadata
Assignees
Labels
No labels