Errno::EBADF: Bad file descriptor - connect

Today this error is the bane of my existence.

It is weird. My app works fine when I am running it through Mongrel,
but as soon as I try to run a unit test, the test explodes with this
error.

Any ideas?

On Wed, 2006-09-13 at 21:46 +0000, Mr. Interweb wrote:

Today this error is the bane of my existence.

It is weird. My app works fine when I am running it through Mongrel,
but as soon as I try to run a unit test, the test explodes with this
error.

Any ideas?

Try out the pre-release:

gem install mongrel --source=http://mongrel.rubyforge.org/releases/

And if you still have the problem then let me know.


Zed A. Shaw

http://mongrel.rubyforge.org/
http://www.lingr.com/room/3yXhqKbfPy8 – Come get help.

Ok. I figured it out, and it was a major bonehead mistake. I forgot
to define the testing section in the database.yml file.

LOL :slight_smile: