Heroku suddenly stopped working and gave me this error:
could not connect to server: Connection refused Is the server running on host \"127.0.0.1\" and a
Run this commands:
bundle exec rake tmp:clear bundle exec rake assets:clean RAILS_ENV=production bundle exec rake assets:precompile RAILS_ENV=production
Hope this helps!