Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default payment method sometimes fails to install #3775

Closed
seand7565 opened this issue Sep 25, 2020 · 0 comments
Closed

Default payment method sometimes fails to install #3775

seand7565 opened this issue Sep 25, 2020 · 0 comments

Comments

@seand7565
Copy link
Contributor

When installing Solidus using the generator, I got this error:

  You can select a payment method to be included in the installation process.
  Please select a payment method name: [paypal, none] (paypal) paypal
     gemfile  solidus_paypal_commerce_platform
      append  db/seeds.rb
     copying  migrations
Traceback (most recent call last):
	17: from /Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
	16: from /Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
	15: from /Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/bundler/setup.rb:20:in `<top (required)>'
	14: from /Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/bundler/ui/shell.rb:88:in `silence'
	13: from /Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/bundler/ui/shell.rb:136:in `with_level'
	12: from /Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/bundler/setup.rb:20:in `block in <top (required)>'
	11: from /Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/bundler.rb:149:in `setup'
	10: from /Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/bundler/runtime.rb:20:in `setup'
	 9: from /Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/bundler/runtime.rb:101:in `block in definition_method'
	 8: from /Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/bundler/definition.rb:226:in `requested_specs'
	 7: from /Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/bundler/definition.rb:237:in `specs_for'
	 6: from /Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/bundler/definition.rb:170:in `specs'
	 5: from /Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/bundler/definition.rb:258:in `resolve'
	 4: from /Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/bundler/resolver.rb:22:in `resolve'
	 3: from /Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/bundler/resolver.rb:49:in `start'
	 2: from /Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/bundler/resolver.rb:258:in `verify_gemfile_dependencies_are_found!'
	 1: from /Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/bundler/resolver.rb:258:in `each'
/Users/seandenny/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/bundler/resolver.rb:290:in `block in verify_gemfile_dependencies_are_found!': Could not find gem 'solidus_paypal_commerce_platform' in any of the gem sources listed in your Gemfile. (Bundler::GemNotFound)
    creating  database
        rake  db:create
Could not find gem 'solidus_paypal_commerce_platform' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
     running  migrations
        rake  db:migrate VERBOSE=false
Could not find gem 'solidus_paypal_commerce_platform' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
     loading  seed data
        rake  db:seed 
Could not find gem 'solidus_paypal_commerce_platform' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
     loading  sample data
        rake  spree_sample:load
Could not find gem 'solidus_paypal_commerce_platform' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
      insert  config/routes.rb
**************************************************
We added the following line to your application's config/routes.rb file:
 
    mount Spree::Core::Engine, at: '/'
**************************************************
Solidus has been installed successfully. You're all ready to go!

I tried to replicate it twice more after this but was unable to. @kennyadsl said that he had a similar error a few days ago.

Note that I was using a local version of the Solidus gem when this happened, but it was fully up to date with master, with no changes.

Solidus Version:
2.11 - cutting edge

To Reproduce
Create a new app, add Solidus to the gemfile, run the install generator, and use the default payment method. Sometimes(?) you'll see this issue?

Screenshots

Screen Shot 2020-09-25 at 9 21 48 AM

seand7565 added a commit to seand7565/solidus that referenced this issue Sep 25, 2020
ref solidusio#3775

Fixes the issues with the install generator by bundling after adding the
extensions to the gemfile, stopping spring, and then running the install
generators for each of the installed extensions.

Currently this works a bit wonky as the extensions will ask if you want
to run migrations, and that's not desirable as migrations are already run
after these extensions are installed. Will fix and update shortly, just
wanted to get this into a PR!
seand7565 added a commit to seand7565/solidus that referenced this issue Oct 5, 2020
ref solidusio#3775

Fixes the issues with the install generator by bundling after adding the
extensions to the gemfile, stopping spring, and then running the install
generators for each of the installed extensions.

Currently this works a bit wonky as the extensions will ask if you want
to run migrations, and that's not desirable as migrations are already run
after these extensions are installed. Will fix and update shortly, just
wanted to get this into a PR!
seand7565 added a commit to seand7565/solidus that referenced this issue Oct 14, 2020
ref solidusio#3775

Fixes the issues with the install generator by bundling after adding the
extensions to the gemfile, stopping spring, and then running the install
generators for each of the installed extensions.

Currently this works a bit wonky as the extensions will ask if you want
to run migrations, and that's not desirable as migrations are already run
after these extensions are installed. Will fix and update shortly, just
wanted to get this into a PR!
spaghetticode pushed a commit to nebulab/solidus that referenced this issue Oct 16, 2020
ref solidusio#3775

Fixes the issues with the install generator by bundling after adding the
extensions to the gemfile, stopping spring, and then running the install
generators for each of the installed extensions.

Currently this works a bit wonky as the extensions will ask if you want
to run migrations, and that's not desirable as migrations are already run
after these extensions are installed. Will fix and update shortly, just
wanted to get this into a PR!
softr8 pushed a commit to softr8/solidus that referenced this issue Oct 22, 2020
ref solidusio#3775

Fixes the issues with the install generator by bundling after adding the
extensions to the gemfile, stopping spring, and then running the install
generators for each of the installed extensions.

Currently this works a bit wonky as the extensions will ask if you want
to run migrations, and that's not desirable as migrations are already run
after these extensions are installed. Will fix and update shortly, just
wanted to get this into a PR!
softr8 pushed a commit to softr8/solidus that referenced this issue Oct 28, 2020
ref solidusio#3775

Fixes the issues with the install generator by bundling after adding the
extensions to the gemfile, stopping spring, and then running the install
generators for each of the installed extensions.

Currently this works a bit wonky as the extensions will ask if you want
to run migrations, and that's not desirable as migrations are already run
after these extensions are installed. Will fix and update shortly, just
wanted to get this into a PR!
DanielePalombo pushed a commit to DanielePalombo/solidus that referenced this issue Oct 30, 2020
ref solidusio#3775

Fixes the issues with the install generator by bundling after adding the
extensions to the gemfile, stopping spring, and then running the install
generators for each of the installed extensions.

Currently this works a bit wonky as the extensions will ask if you want
to run migrations, and that's not desirable as migrations are already run
after these extensions are installed. Will fix and update shortly, just
wanted to get this into a PR!
mamhoff pushed a commit to mamhoff/solidus that referenced this issue Feb 1, 2021
ref solidusio#3775

Fixes the issues with the install generator by bundling after adding the
extensions to the gemfile, stopping spring, and then running the install
generators for each of the installed extensions.

Currently this works a bit wonky as the extensions will ask if you want
to run migrations, and that's not desirable as migrations are already run
after these extensions are installed. Will fix and update shortly, just
wanted to get this into a PR!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants