I got this error this evening while running my specs: Connection
refused - connect(2)
I’m running under test/development and I’m using SQLite3. I didn’t have
this issue yesterday and my code hasn’t changed since then. I looked
around and people are saying that it’s a DB connection problem (which
would make sense). However, I’m using SQLite3 so I don’t understand why
it would have connection issues. I’ve restarted my machine, re-migrated
my databases and nothing seems to work. The error comes up even if I try
to do database operations manually in rails console.
I’m currently using Ruby 1.9.2 and Rails 3.0.0.
Any ideas?