resque / resque-web

a Rails-based web interface to Resque
235 stars 166 forks source link

NameError: uninitialized constant Resque::Version #156

Open diei opened 2 years ago

diei commented 2 years ago

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
jlkauffman92 commented 2 years ago

I'm getting this error as well.

francescor commented 2 years ago

we would like this fix too :)

alexadia commented 2 years ago

Likewise, would also like this fix.

hackhowtofaq commented 2 years ago

Anyone around to merge this, plz! ;)

weshatheleopard commented 2 years ago

Merge and release the new version please.

wwwermishel commented 1 year ago

Merge and release the new version please.

bassboy2k commented 1 year ago

New version please!

garybunofsky commented 1 year ago

New version plz

kameshprasad commented 1 year ago

Please merge and release new version

jlkauffman92 commented 1 year ago

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

kameshprasad commented 1 year ago

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

trevorthornton commented 10 months ago
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?

lancecarlson commented 1 month ago

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