NameError: uninitialized constant Resque::Version
After update from resque 2.1.0 to 2.2.0 I get following error when I load the resque-web website:
NameError: uninitialized constant Resque::Version
from resque-web (0.0.12) app/views/layouts/resque_web/application.html.erb:73
The constant definition was changed in resque/lib/resque/version.rb:
From:
module Resque
Version = VERSION = '2.0.0'
end
To:
module Resque
VERSION = '2.0.0'
end
I'm getting this error as well.
we would like this fix too :)
Likewise, would also like this fix.
Anyone around to merge this, plz! ;)
Merge and release the new version please.
Merge and release the new version please.
New version please!
New version plz
Please merge and release new version
My work around for this is simply putting Resque:: Version = 2 in my application.rb file.
More accurate will be to have Resque:: Version = Resque::VERSION in application.rb or in initilizers/resque.rb
Resque::Version = Resque::VERSION
FWIW - in my case (using Rails 7) that line had to go in application.rb – tried it in initilizers/resque.rb but it didn't work.
The fact that the fix for this is so simple and remains unmerged, and that the code hasn't been touched in over a year, makes me suspect that this gem may be endangered. What can we do to help?
Yeah, this is such a simple fix. Why can't we get a new release for this?