#1890·resque

Cannot use with Rack 3.0 because of Sinatra (resque-web); Blocked upgrade to Rails 7.1

Author: danloCreated Dec 5, 2023Updated Nov 25, 2025

TL;DR: Rails 7.1 requires Rack 3 and Resque-web cannot support Rack 3 (due to sinatra). Can Resque-web be made into it's own gem?

Greetings,

This appears to be a partial repeat of #1492.

Sinatra cannot use Rack 3, due to the issues laid out (and in progress) here.
https://github.com/sinatra/sinatra/issues/1797#issuecomment-1452822705

Just like to point out that rack-session-2.0.0 now requires rack >= 3.0.0, however sinatra-3.0.5 still requires rack ~> 2.2, which makes the rack-session-2.0.0 gem incompatible with sinatra <= 3.0.5. This will probably start biting developers.

Since Sinatra cannot run rack 3; Rails 7.1 and Resque are incompatible.

@dentarg states that: https://github.com/sinatra/sinatra/issues/1797#issuecomment-1826754094

Not yet, merging to main will mark the end for Sinatra 3.x (at least I'm not interested in maintaining multiple branches). I just created https://github.com/sinatra/sinatra/issues/1962 with things that should be released for 3.x.

Which suggests that Sinatra 4.x may be a while.

In the issue #1492, it was suggested that resque-web be moved into it's own separate gem

https://github.com/resque/resque/issues/1492#issuecomment-301284335


Given, that Sinatra 4.x may be a while, could there be a release of resque w/o resque-web, so that those of us who use Resque could continue doing so on Rails 7.1?

-daniel