Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

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

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

Conversation

Copy link

Ginkggo commented Jul 30, 2025

This should fix #447

Copy link
Collaborator

ioquatix commented Jul 30, 2025

Can you please review the test failures? Thanks!

Copy link
Collaborator

ioquatix commented Jul 31, 2025

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

Copy link
Collaborator

ioquatix commented Jul 31, 2025

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".

Copy link
Author

Ginkggo commented Jul 31, 2025 *
edited
Loading

@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 reacted with thumbs up emoji

Copy link
Collaborator

ioquatix commented Jul 31, 2025

Hmm, maybe CI is broken, let me check.

Copy link

jaevans commented Sep 9, 2025

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

Copy link
Collaborator

ioquatix commented Sep 11, 2025

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.

Copy link

IkanPakUs commented Nov 5, 2025

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

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

4 participants