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? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
are you using rvm? On Sat, Sep 11, 2010 at 12:09 AM, Anthony Smith <anthony-pO6LffClugqiCYHjmAE91gC/G2K4zDHf@public.gmane.org>wrote:> 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? > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
It was a Sunspot issue. Thanks for the response though! On Sep 11, 2010, at 1:05 PM, radhames brito wrote:> are you using rvm? > > On Sat, Sep 11, 2010 at 12:09 AM, Anthony Smith <anthony-pO6LffClugqiCYHjmAE91g@public.gmane.orgm> wrote: > 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? > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.