You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
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 :)
The text was updated successfully, but these errors were encountered:
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 :)The text was updated successfully, but these errors were encountered: