-
Notifications
You must be signed in to change notification settings - Fork 311
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
Rails 7 - uninitialized constant Impressionist::Engine::ImpressionistController (NameError) #302
Comments
Facing the same issue with my existing app after an upgrade to rails 7 and ruby 3.0.1
|
Same as above |
found temporary solution: # add to application.rb at the top
impressionist_dir = Gem::Specification.find_by_name('impressionist').gem_dir
require File.join(impressionist_dir, '/app/controllers/impressionist_controller.rb') Enjoy :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After upgrading to rails 7 I'm getting the below error with the impressionist gem. When I start my local server.
uninitialized constant Impressionist::Engine::ImpressionistController (NameError)
ruby 3.0.2
rails 7.0.1
gem "impressionist", git: "https://github.com/charlotte-ruby/impressionist
This is the full stack after installing with bundler and running
rails g impressionist
:The text was updated successfully, but these errors were encountered: