{"action":"created","issue":{"url":"https://api.github.com/repos/intelliot/rcrd/issues/1","labels_url":"https://api.github.com/repos/intelliot/rcrd/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/intelliot/rcrd/issues/1/comments","events_url":"https://api.github.com/repos/intelliot/rcrd/issues/1/events","html_url":"https://github.com/intelliot/rcrd/issues/1","id":64916032,"number":1,"title":"An error occurred while installing pg (0.16.0), and Bundler cannot continue.","user":{"login":"intelliot","id":81505,"avatar_url":"https://avatars.githubusercontent.com/u/81505?v=3","gravatar_id":"","url":"https://api.github.com/users/intelliot","html_url":"https://github.com/intelliot","followers_url":"https://api.github.com/users/intelliot/followers","following_url":"https://api.github.com/users/intelliot/following{/other_user}","gists_url":"https://api.github.com/users/intelliot/gists{/gist_id}","starred_url":"https://api.github.com/users/intelliot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intelliot/subscriptions","organizations_url":"https://api.github.com/users/intelliot/orgs","repos_url":"https://api.github.com/users/intelliot/repos","events_url":"https://api.github.com/users/intelliot/events{/privacy}","received_events_url":"https://api.github.com/users/intelliot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-28T08:05:00Z","updated_at":"2015-03-28T08:13:11Z","closed_at":null,"body":"I was getting this error:\r\n```\r\nGem::Ext::BuildError: ERROR: Failed to build gem native extension.\r\n\r\n    /Users/e/.rvm/rubies/ruby-2.2.0/bin/ruby -r ./siteconf20150328-22015-q0i186.rb extconf.rb \r\nchecking for pg_config... no\r\nNo pg_config... trying anyway. If building fails, please try again with\r\n --with-pg-config=/path/to/pg_config\r\nchecking for libpq-fe.h... no\r\nCan't find the 'libpq-fe.h header\r\n*** extconf.rb failed ***\r\nCould not create Makefile due to some reason, probably lack of necessary\r\nlibraries and/or headers.  Check the mkmf.log file for more details.  You may\r\nneed configuration options.\r\n\r\nProvided configuration options:\r\n\t--with-opt-dir\r\n\t--with-opt-include\r\n\t--without-opt-include=${opt-dir}/include\r\n\t--with-opt-lib\r\n\t--without-opt-lib=${opt-dir}/lib\r\n\t--with-make-prog\r\n\t--without-make-prog\r\n\t--srcdir=.\r\n\t--curdir\r\n\t--ruby=/Users/e/.rvm/rubies/ruby-2.2.0/bin/$(RUBY_BASE_NAME)\r\n\t--with-pg\r\n\t--without-pg\r\n\t--with-pg-config\r\n\t--without-pg-config\r\n\t--with-pg_config\r\n\t--without-pg_config\r\n\t--with-pg-dir\r\n\t--without-pg-dir\r\n\t--with-pg-include\r\n\t--without-pg-include=${pg-dir}/include\r\n\t--with-pg-lib\r\n\t--without-pg-lib=${pg-dir}/lib\r\n\r\nextconf failed, exit code 1\r\n\r\nGem files will remain installed in /var/folders/cv/2ldtrxts393g9gmxd9vpmn1w0000gn/T/bundler20150328-22015-11pkat5/pg-0.16.0/gems/pg-0.16.0 for inspection.\r\nResults logged to /var/folders/cv/2ldtrxts393g9gmxd9vpmn1w0000gn/T/bundler20150328-22015-11pkat5/pg-0.16.0/extensions/x86_64-darwin-13/2.2.0/pg-0.16.0/gem_make.out\r\nAn error occurred while installing pg (0.16.0), and Bundler cannot continue.\r\nMake sure that `gem install pg -v '0.16.0'` succeeds before bundling.\r\n```\r\n\r\n[The solution](http://stackoverflow.com/a/6040822/103213) appears to be: `brew install postgresql`\r\n\r\nShould we note this in the README?"},"comment":{"url":"https://api.github.com/repos/intelliot/rcrd/issues/comments/87189607","html_url":"https://github.com/intelliot/rcrd/issues/1#issuecomment-87189607","issue_url":"https://api.github.com/repos/intelliot/rcrd/issues/1","id":87189607,"user":{"login":"intelliot","id":81505,"avatar_url":"https://avatars.githubusercontent.com/u/81505?v=3","gravatar_id":"","url":"https://api.github.com/users/intelliot","html_url":"https://github.com/intelliot","followers_url":"https://api.github.com/users/intelliot/followers","following_url":"https://api.github.com/users/intelliot/following{/other_user}","gists_url":"https://api.github.com/users/intelliot/gists{/gist_id}","starred_url":"https://api.github.com/users/intelliot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intelliot/subscriptions","organizations_url":"https://api.github.com/users/intelliot/orgs","repos_url":"https://api.github.com/users/intelliot/repos","events_url":"https://api.github.com/users/intelliot/events{/privacy}","received_events_url":"https://api.github.com/users/intelliot/received_events","type":"User","site_admin":false},"created_at":"2015-03-28T08:13:11Z","updated_at":"2015-03-28T08:13:11Z","body":"Some other setup stuff:\r\n\r\nRun postgres: `postgres -D /usr/local/var/postgres`\r\n\r\nNuke the database and start over: `rake db:drop db:create db:migrate`"}}