Project

General

Profile

Actions

Feature #38120

open

Support Rack 3 and Sinatra 4

Added by Frank Wall 6 months ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Core
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Currently Smart Proxy depends on Rack 2 and Sinatra 2. When Rack 3 is installed alongside Rack 2, Smart Proxy stops working:

/usr/local/lib/ruby/site_ruby/3.2/rubygems/specification.rb:2245:in `raise_if_conflicts':
Unable to activate sinatra-2.2.4, because rack-3.0.11 conflicts with rack (~> 2.2) (Gem::ConflictError)

Is there any way to workaround this issue?

If no workaround is available: are there any plans to use more recent versions of Rack and Sinatra?

Actions #1

Updated by Ewoud Kohl van Wijngaarden about 1 month ago

  • Tracker changed from Bug to Feature
  • Subject changed from Incompatible with Rack 3 to Support Rack 3 and Sinatra 4
  • Category set to Core

We should update. https://github.com/sinatra/sinatra/blob/main/CHANGELOG.md#400--2024-01-19 mentions Rack 3 support so we must also upgrade to Sinatra 4. I'm not aware of anyone doing this right now. Patches are certainly welcome.

Actions

Also available in: Atom PDF