我已经升级到 ruby 3,从那时起,shotgun
就没有出现这个错误:
== Shotgun/Thin on http://127.0.0.1:9393/
/home/thb/.rvm/gems/ruby-3.0.0/gems/thin-1.8.0/lib/rack/handler/thin.rb:11:in `run': wrong number of arguments (given 2, expected 1) (ArgumentError)
from /home/thb/.rvm/gems/ruby-3.0.0/gems/shotgun-0.9.2/bin/shotgun:156:in `<top (required)>'
from /home/thb/.rvm/gems/ruby-3.0.0/bin/shotgun:23:in `load'
from /home/thb/.rvm/gems/ruby-3.0.0/bin/shotgun:23:in `<main>'
from /home/thb/.rvm/gems/ruby-3.0.0/bin/ruby_executable_hooks:22:in `eval'
from /home/thb/.rvm/gems/ruby-3.0.0/bin/ruby_executable_hooks:22:in `<main>'
有没有其他人遇到过这个?有什么解决办法吗?