resque-web icon indicating copy to clipboard operation
resque-web copied to clipboard

NameError: uninitialized constant Resque::Version

Open diei opened this issue 4 years ago • 13 comments

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

diei avatar Nov 09 '21 14:11 diei

I'm getting this error as well.

jlkauffman92 avatar Dec 17 '21 20:12 jlkauffman92

we would like this fix too :)

francescor avatar Dec 26 '21 19:12 francescor

Likewise, would also like this fix.

alexadia avatar Jan 07 '22 19:01 alexadia

Anyone around to merge this, plz! ;)

hackhowtofaq avatar Apr 08 '22 09:04 hackhowtofaq

Merge and release the new version please.

weshatheleopard avatar May 12 '22 15:05 weshatheleopard

Merge and release the new version please.

wwwermishel avatar Nov 07 '22 12:11 wwwermishel

New version please!

bassboy2k avatar Dec 13 '22 16:12 bassboy2k

New version plz

garybunofsky avatar Feb 14 '23 03:02 garybunofsky

Please merge and release new version

kameshprasad avatar Feb 21 '23 11:02 kameshprasad

My work around for this is simply putting Resque:: Version = 2 in my application.rb file.

jlkauffman92 avatar Feb 21 '23 16:02 jlkauffman92

More accurate will be to have Resque:: Version = Resque::VERSION in application.rb or in initilizers/resque.rb

kameshprasad avatar Feb 26 '23 17:02 kameshprasad

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?

trevorthornton avatar Nov 15 '23 14:11 trevorthornton

Yeah, this is such a simple fix. Why can't we get a new release for this?

lancecarlson avatar Aug 01 '24 01:08 lancecarlson