thin icon indicating copy to clipboard operation
thin copied to clipboard

uninitialized constant Thin::Server::Logging (NameError)

Open bornwa00 opened this issue 6 months ago • 1 comments

With the 2.0.1 release, now receiving the following error:

.rvm/gems/ruby-3.3.0/gems/thin-2.0.1/lib/thin/server.rb:52:in '<class:Server>': uninitialized constant Thin::Server::Logging (NameError)
Did you mean?  Logger

https://github.com/macournoyer/thin/blob/master/lib/thin/server.rb#L52

bornwa00 avatar Jun 26 '25 19:06 bornwa00

Ok, sorry if this was irrelevant, but I had a friend who told me the same issue who's using WSL and playing around with Sinatra.

I asked him to run

gem install sinatra rackup puma

that was in the Sinatra doc just in case, and that did fix the issue. Specifying the version of thin didn't help and this helped.

FYI

SuzukiRyuichiro avatar Jul 23 '25 07:07 SuzukiRyuichiro