You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 15, 2026. It is now read-only.
When trying to run softcover using ruby 3.4, I encountered:
gems/3.4.0/gems/thin-1.8.2/lib/rack/handler/thin.rb:11:in 'run': wrong number of arguments (given 2, expected 1) (ArgumentError)
I've found that if I tweak
gems/3.4.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1510
to include positional args, the server starts fine.
so from: handler.run(self, server_settings) do |server|
to: handler.run(*self, **server_settings) do |server|
I don't know where in the call chain this is most appropriately addressed so I've open similar tickets in Softcover - softcover/softcover#254 and Sinatra - sinatra/sinatra#2143
Greetings,
When trying to run softcover using ruby 3.4, I encountered:
I've found that if I tweak
I don't know where in the call chain this is most appropriately addressed so I've open similar tickets in Softcover - softcover/softcover#254 and
Sinatra - sinatra/sinatra#2143
I found the error using this article:
https://www.fastruby.io/blog/fix-sneaky-argument-error-when-upgrading-ruby.html
Cheers