Skip to content

Correction to uninitialized constant Thin::Server::Logging#450

Open
Ginkggo wants to merge 3 commits into
macournoyer:masterfrom
Ginkggo:patch-1
Open

Correction to uninitialized constant Thin::Server::Logging#450
Ginkggo wants to merge 3 commits into
macournoyer:masterfrom
Ginkggo:patch-1

Conversation

@Ginkggo

@Ginkggo Ginkggo commented Jul 30, 2025

Copy link
Copy Markdown

This should fix #447

@ioquatix

Copy link
Copy Markdown
Collaborator

Can you please review the test failures? Thanks!

@ioquatix

Copy link
Copy Markdown
Collaborator

This looks okay to me, but I'll review it in more detail after you remove the white space changes.

@ioquatix

Copy link
Copy Markdown
Collaborator

Okay, I reviewed the change. I'm not sure I understand how this fix is supposed to work.

I think you need to modify https://github.com/macournoyer/thin/blob/master/lib/thin/server.rb and add require_relative "logging".

@Ginkggo

Ginkggo commented Jul 31, 2025

Copy link
Copy Markdown
Author

@ioquatix That was my first commit, I did require 'thin' because daemonizable was also being uninitialized
I tested that change and it worked but I didn't understand why the tests were failing because of it.
I added the rack version handling since that was what the tests were failing to find and added the logging in there as well to ensure reference.

tbh I could have left it in server.rb

@ioquatix

Copy link
Copy Markdown
Collaborator

Hmm, maybe CI is broken, let me check.

@jaevans

jaevans commented Sep 9, 2025

Copy link
Copy Markdown

Any progress on this with either CI or this fix? We're having the same issue in our application

@ioquatix

Copy link
Copy Markdown
Collaborator

I think you need to modify https://github.com/macournoyer/thin/blob/master/lib/thin/server.rb and add require_relative "logging".

CI appears fixed.

@IkanPakUs

Copy link
Copy Markdown

Hi, any idea when these changes will be merged? got same issue in our app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

4 participants