{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/31673","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/31673/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/31673/comments","events_url":"https://api.github.com/repos/rails/rails/issues/31673/events","html_url":"https://github.com/rails/rails/issues/31673","id":287712064,"number":31673,"title":"Rails does not work with pg 1.0.0","user":{"login":"thomasfedb","id":193831,"avatar_url":"https://avatars0.githubusercontent.com/u/193831?v=4","gravatar_id":"","url":"https://api.github.com/users/thomasfedb","html_url":"https://github.com/thomasfedb","followers_url":"https://api.github.com/users/thomasfedb/followers","following_url":"https://api.github.com/users/thomasfedb/following{/other_user}","gists_url":"https://api.github.com/users/thomasfedb/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasfedb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasfedb/subscriptions","organizations_url":"https://api.github.com/users/thomasfedb/orgs","repos_url":"https://api.github.com/users/thomasfedb/repos","events_url":"https://api.github.com/users/thomasfedb/events{/privacy}","received_events_url":"https://api.github.com/users/thomasfedb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-01-11T09:12:03Z","updated_at":"2018-03-13T14:53:24Z","closed_at":"2018-01-11T15:00:42Z","author_association":"CONTRIBUTOR","body":"### Steps to reproduce\r\n1. Ensure `gem \"pg\"` is in `Gemfile`\r\n2. `bundle update`\r\n3. `rails s`\r\n\r\n### Expected behavior\r\nRails server should run\r\n\r\n### Actual behavior\r\n> /.../gems/activerecord-5.1.4/lib/active_record/connection_adapters/connection_specification.rb:188:in `rescue in spec': Specified 'postgresql' for database adapter, but the gem is not loaded. Add `gem 'pg'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord). (Gem::LoadError)\r\n\r\n### System configuration\r\n**Rails version**:  5.1.4\r\n**Ruby version**: 2.4.3\r\n\r\nThe issue appears to be caused by this line: https://github.com/rails/rails/blob/15ef55efb591e5379486ccf53dd3e13f416564f6/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb#L4"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/372693380","html_url":"https://github.com/rails/rails/issues/31673#issuecomment-372693380","issue_url":"https://api.github.com/repos/rails/rails/issues/31673","id":372693380,"user":{"login":"erdemoflaz","id":9012727,"avatar_url":"https://avatars1.githubusercontent.com/u/9012727?v=4","gravatar_id":"","url":"https://api.github.com/users/erdemoflaz","html_url":"https://github.com/erdemoflaz","followers_url":"https://api.github.com/users/erdemoflaz/followers","following_url":"https://api.github.com/users/erdemoflaz/following{/other_user}","gists_url":"https://api.github.com/users/erdemoflaz/gists{/gist_id}","starred_url":"https://api.github.com/users/erdemoflaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erdemoflaz/subscriptions","organizations_url":"https://api.github.com/users/erdemoflaz/orgs","repos_url":"https://api.github.com/users/erdemoflaz/repos","events_url":"https://api.github.com/users/erdemoflaz/events{/privacy}","received_events_url":"https://api.github.com/users/erdemoflaz/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T14:53:23Z","updated_at":"2018-03-13T14:53:23Z","author_association":"NONE","body":"are you king?\r\nthnx bro!"}}
{"actor":{"display_login":"erdemoflaz"}}