uninitialized constant BetterErrors::Middleware::VERSION (NameError)
seb-sykio opened this issue · comments
seb-sykio commented
3: from .rvm/gems/ruby-2.6.5/gems/better_errors-2.8.2/lib/better_errors.rb:9:in `<top (required)>'
2: from .rvm/gems/ruby-2.6.5/gems/better_errors-2.8.2/lib/better_errors/middleware.rb:7:in `<top (required)>'
1: from .rvm/gems/ruby-2.6.5/gems/better_errors-2.8.2/lib/better_errors/middleware.rb:28:in `<module:BetterErrors>'
.rvm/gems/ruby-2.6.5/gems/better_errors-2.8.2/lib/better_errors/middleware.rb:43:in `class:Middleware': uninitialized constant BetterErrors::Middleware::VERSION (NameError)
ruby 2.6
rails 4.2.11.3
Robert Ferencek commented
Same here after update :/
Rails 6.0.3.3
Ruby 2.7.1
Johannes Köhler commented
Same for me!
Robert Ferencek commented
Duplicate of #482
Anton commented
Same
James Coglan commented
I believe this change is the source of the problem: referring to VERSION
without having explicitly loaded that constant. It's stopping our Rails app from booting.
Addison Martin commented
I've submitted a fix:
#480
Robin Daugherty commented
Very sorry for my mistake everyone, release 2.8.3 fixes this and is live (and I tested it in an app). Thank you @addisonmartin and @peaonunes for the PRs!