Closed ckundo closed 1 month ago
might be related to https://github.com/rails/rails/issues/38671
when I generate a new Rails app with rails new sample
, add sublayer
to the Gemfile I see this error. Maybe related?
% bin/rails zeitwerk:check
Hold on, I am eager loading the application.
bin/rails aborted!
NameError: uninitialized constant Sublayer::CLI::Commands::Action (NameError)
@mod.const_get(@cname, false)
^^^^^^^^^^
Did you mean? Sublayer::CLI::Actions
Sublayer::Actions
Tasks: TOP => zeitwerk:check
(See full trace by running task with --trace)
Ahh yeah looks like I screwed something up by not ignoring the cli directory in my zeitwerk setup and for some reason my tests didn't catch it. Fix should be coming out shortly!
Should be fixed in 0.2.6
When I deploy a Rails 7.1.3.4 app to Heroku, I get the error above and the app fails to start.