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

Running bin/rails g spree:install -> [WARNING] Could not load generator "generators/spree/install/install_generator". Error: superclass mismatch for class Command. #3752

Closed
delphaber opened this issue Sep 1, 2020 · 2 comments

Comments

@delphaber
Copy link
Contributor

Hi :)

I wanted to create a new app using solidus 2.10.2 on rails 6.0.3.2 on ruby 2.7.1 on macOS Catalina 10.15.6

I was not able to complete bin/rails g spree:install: rails told me that the generator does not exist. The problem is related to this warning: [WARNING] Could not load generator "generators/spree/install/install_generator". Error: superclass mismatch for class Command.

I think this is related: rails/thor#721

How to fix:

I added this line to Gemfile

gem 'thor', '~> 0.20.3'

But I had to manually uninstall the other thor version using gem uninstall and I had to clean bootsnap cache and stop spring. Then I was able to finish the installation :)

@jarednorman
Copy link
Member

Thanks for the detailed report!

@kennyadsl
Copy link
Member

Closing, we are not supporting this versions anymore and it doesn't seem to be still here. Thanks for the report!

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

3 participants