Comments (10)
$ gem list refinery
*** LOCAL GEMS ***
refinerycms (0.9.9)
refinerycms-generators (0.9.9.1)
refinerycms-i18n (0.9.9.7)
refinerycms-inquiries (0.9.9.9)
refinerycms-page-images (1.0.2)
from refinerycms-page-images.
Seeing this as well. Here's my full stack trace, if it helps any:
$ rails g refinerycms_page_images
[WARNING] Could not load generator "generators/refinerycms_page_images_generator". Error: superclass mismatch for class RefinerycmsPageImages.
/opt/local/lib/ruby/gems/1.8/gems/refinerycms-page-images-1.0.2/lib/generators/refinerycms_page_images_generator.rb:1
/opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `load_dependency'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:596:in `new_constants_in'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `load_dependency'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
/opt/local/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/generators.rb:286:in `lookup'
/opt/local/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/generators.rb:282:in `each'
/opt/local/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/generators.rb:282:in `lookup'
/opt/local/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/generators.rb:281:in `each'
/opt/local/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/generators.rb:281:in `lookup'
/opt/local/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/generators.rb:141:in `find_by_namespace'
/opt/local/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/generators.rb:161:in `invoke'
/opt/local/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/commands/generate.rb:10
/opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `load_dependency'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:596:in `new_constants_in'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `load_dependency'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
/opt/local/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/commands.rb:17
script/rails:6:in `require'
script/rails:6
Could not find generator refinerycms_page_images.
I'm using Refinery 0.9.9 like OP.
from refinerycms-page-images.
This is an issue with refinerycms-page-images not refinerycms, working to fix.
from refinerycms-page-images.
I spent HOURS trying to figure out what is causing the supeclass mismatch .. searching for that class throughout all refinerycms gems, etc. cannot figure it out. There is an easy work-around to get going on your development: copy the two migrations from the gem's db/migrate directory into your project's db/migrate. be sure to rename them so that they will be at the end of the migration list. then just run rake db:migrate and you can get back to work.
from refinerycms-page-images.
Yeah, it's a confusing issue.. Trying to figure out the root cause at the moment..
from refinerycms-page-images.
as an FYI: refinerycms-inquiries engine has several syntactic and structural similarities to refinerycms-page-images .. yet it does NOT exhibit the error .. if that helps you track things down at all. the other thing that I found, using irb, is that there are two things which will cause this error: see examples below
case 1:
class Foo; end;
class Bar; end;
class PeanutClusters < Foo; end # this is ok
class PeanutClusters < Bar; end # this is SUPERCLASS mismatch error
case 2 (same Foo Bar setup as above)
class PeanutClusters < Foo; end # still ok
class Foo < Bar; end # this is also SUPERCLASS mismatch error
from refinerycms-page-images.
Somehow naming this refinerycms_page_images was blowing up the generator called RefinerycmsPageImages. Closed by 0b0fef8
from refinerycms-page-images.
Can you confirm it works for you now with 1.0.3 ?
from refinerycms-page-images.
Confirmed working flawlessly after update to 1.0.3 on my machine. Thanks for the quick fix!
from refinerycms-page-images.
Confirmed here as well; thanks for fixing this!
from refinerycms-page-images.
Related Issues (20)
- Friendly_id version HOT 3
- Unable to install and activesupport error HOT 6
- No documentation available for integration with refinerycms-blog HOT 3
- Installing latest refinerycms-page-images for refinerycms edge HOT 1
- Could not find gem 'refinerycms-page-images (~> 3.0.0) x86-mingw32'
- Could not find gem 'refinerycms-page-images (~> 3.0.0) x86-mingw32' HOT 1
- Images tab state after validation fail HOT 2
- Unknown attribute error when saving pages HOT 9
- NoMethodError: private method `prepend' HOT 3
- unknown attribute 'images_attributes' for Refinery::Page if only added to extension HOT 2
- Tab name not translated HOT 1
- Slow page loading times HOT 1
- Heroku pre-compiling assets fails after Heroku deprecated user-env-compile HOT 5
- refinerycms-page-images HOT 2
- Unable to use Rails 5.2.0 because of version globalize and activerecord HOT 5
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Struggling to invalidate cached single image caption HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from refinerycms-page-images.