{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/suspenders/issues/621","labels_url":"https://api.github.com/repos/thoughtbot/suspenders/issues/621/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/suspenders/issues/621/comments","events_url":"https://api.github.com/repos/thoughtbot/suspenders/issues/621/events","html_url":"https://github.com/thoughtbot/suspenders/issues/621","id":110907465,"number":621,"title":"PG::ConnectionBad when creating a new suspenders app","user":{"login":"Ghi102","id":8958462,"avatar_url":"https://avatars.githubusercontent.com/u/8958462?v=3","gravatar_id":"","url":"https://api.github.com/users/Ghi102","html_url":"https://github.com/Ghi102","followers_url":"https://api.github.com/users/Ghi102/followers","following_url":"https://api.github.com/users/Ghi102/following{/other_user}","gists_url":"https://api.github.com/users/Ghi102/gists{/gist_id}","starred_url":"https://api.github.com/users/Ghi102/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ghi102/subscriptions","organizations_url":"https://api.github.com/users/Ghi102/orgs","repos_url":"https://api.github.com/users/Ghi102/repos","events_url":"https://api.github.com/users/Ghi102/events{/privacy}","received_events_url":"https://api.github.com/users/Ghi102/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-12T04:28:56Z","updated_at":"2015-10-13T21:19:12Z","closed_at":null,"body":"Here's what I did in a terminal (running in Manjaro Linux):\r\n\r\nsuspenders testapp\r\nrails server\r\n\r\nWhen I go to localhost:3000, I get a PG::ConnectionBad error, with the following text:\r\n\r\ncould not connect to server: Connection refused Is the server running on host \"localhost\" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host \"localhost\" (127.0.0.1) and accepting TCP/IP connections on port 5432?\r\n\r\nI also get the following in the terminal when running \"suspenders testapp\":\r\n\r\nSetting up database\r\n       force  config/database.yml\r\n         run  bundle exec rake db:create db:migrate\r\ncould not connect to server: Connection refused\r\n        Is the server running on host \"localhost\" (::1) and accepting\r\n        TCP/IP connections on port 5432?\r\ncould not connect to server: Connection refused\r\n        Is the server running on host \"localhost\" (127.0.0.1) and accepting\r\n        TCP/IP connections on port 5432?\r\n\r\nFollowed by a myriad of error messages. bundle install completed, so I'm not missing any gems. Postgresql 9.4.4-2 is installed."},"comment":{"url":"https://api.github.com/repos/thoughtbot/suspenders/issues/comments/147857051","html_url":"https://github.com/thoughtbot/suspenders/issues/621#issuecomment-147857051","issue_url":"https://api.github.com/repos/thoughtbot/suspenders/issues/621","id":147857051,"user":{"login":"tute","id":54260,"avatar_url":"https://avatars.githubusercontent.com/u/54260?v=3","gravatar_id":"","url":"https://api.github.com/users/tute","html_url":"https://github.com/tute","followers_url":"https://api.github.com/users/tute/followers","following_url":"https://api.github.com/users/tute/following{/other_user}","gists_url":"https://api.github.com/users/tute/gists{/gist_id}","starred_url":"https://api.github.com/users/tute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tute/subscriptions","organizations_url":"https://api.github.com/users/tute/orgs","repos_url":"https://api.github.com/users/tute/repos","events_url":"https://api.github.com/users/tute/events{/privacy}","received_events_url":"https://api.github.com/users/tute/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T21:19:12Z","updated_at":"2015-10-13T21:19:12Z","body":"@Ghi102 do you need help checking if postgresql is running? Are you in Mac, Linux or Windows?"}}