Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails raises a 'bad file descriptor' error when logging #2

Open
kevwil opened this issue Feb 4, 2011 · 2 comments
Open

Rails raises a 'bad file descriptor' error when logging #2

kevwil opened this issue Feb 4, 2011 · 2 comments

Comments

@kevwil
Copy link
Owner

kevwil commented Feb 4, 2011

I suspect the "rack.errors" value is getting closed prematurely. I think I'm passing a reference to $stderr, just like Webrick and Mongrel, but something's not quite right.

@kevwil
Copy link
Owner Author

kevwil commented Feb 4, 2011

Implemented a wrapper object for $stderr to ensure that close() is never called

@kevwil
Copy link
Owner Author

kevwil commented Feb 5, 2011

... and that still didn't fix it. Rails2.x is returning a bad response (status is not an integer >= 100) and Rails3 is throwing the "bad file descriptor" error.

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

No branches or pull requests

1 participant