{"action":"opened","issue":{"url":"https://api.github.com/repos/spilin/capistrano3-postgres/issues/1","labels_url":"https://api.github.com/repos/spilin/capistrano3-postgres/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/spilin/capistrano3-postgres/issues/1/comments","events_url":"https://api.github.com/repos/spilin/capistrano3-postgres/issues/1/events","html_url":"https://github.com/spilin/capistrano3-postgres/issues/1","id":72137552,"number":1,"title":"Error when running rails s - `undefined method `namespace' `","user":{"login":"joshuapaling","id":145042,"avatar_url":"https://avatars.githubusercontent.com/u/145042?v=3","gravatar_id":"","url":"https://api.github.com/users/joshuapaling","html_url":"https://github.com/joshuapaling","followers_url":"https://api.github.com/users/joshuapaling/followers","following_url":"https://api.github.com/users/joshuapaling/following{/other_user}","gists_url":"https://api.github.com/users/joshuapaling/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuapaling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuapaling/subscriptions","organizations_url":"https://api.github.com/users/joshuapaling/orgs","repos_url":"https://api.github.com/users/joshuapaling/repos","events_url":"https://api.github.com/users/joshuapaling/events{/privacy}","received_events_url":"https://api.github.com/users/joshuapaling/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-30T11:52:26Z","updated_at":"2015-04-30T11:52:26Z","closed_at":null,"body":"When running `rails s`, I was getting: \r\n\r\n`/lib/capistrano3/tasks/postgres.rb:1:in `<top (required)>': undefined method `namespace' for main:Object (NoMethodError)`\r\n\r\nI fixed it by using `  gem 'capistrano3-postgres', require: false` in my Gemfile (ie, `require: false` is the solution). Just adding this for future people with the same problem."}}