Forum: Ruby on Rails "Bad file descriptor - connect(2)" = Unable to connect to DB

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
33178e29d93147bab89ddca827f5cd51?d=identicon&s=25 jamesarobertson (Guest)
on 2007-03-30 04:44
(Received via mailing list)
When developing a Rails project I occasionally get the error message:
'Bad file descriptor - connect(2)'

The first time this happened, it took me a while to work out that the
problem was that I have forgotten to start-up my DB server.

Is there some why to get Rails to display a more helpful error message
in this (type of) situation?
This topic is locked and can not be replied to.