I am developing a spree application ,I recently removed and reinstalled ruby 1.9.3, now whenever I try rails s on terminal I get the following error :
/home/swapnil/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:762:in `initialize’: Connection refused – connect(2) (Errno::ECONNREFUSED)
You just need configure your Database connection in your database.yml and launch your SQL server with this configuration