{"action":"created","issue":{"url":"https://api.github.com/repos/troessner/reek/issues/1002","repository_url":"https://api.github.com/repos/troessner/reek","labels_url":"https://api.github.com/repos/troessner/reek/issues/1002/labels{/name}","comments_url":"https://api.github.com/repos/troessner/reek/issues/1002/comments","events_url":"https://api.github.com/repos/troessner/reek/issues/1002/events","html_url":"https://github.com/troessner/reek/pull/1002","id":168864176,"number":1002,"title":"Enable bundler in test","user":{"login":"soutaro","id":139089,"avatar_url":"https://avatars.githubusercontent.com/u/139089?v=3","gravatar_id":"","url":"https://api.github.com/users/soutaro","html_url":"https://github.com/soutaro","followers_url":"https://api.github.com/users/soutaro/followers","following_url":"https://api.github.com/users/soutaro/following{/other_user}","gists_url":"https://api.github.com/users/soutaro/gists{/gist_id}","starred_url":"https://api.github.com/users/soutaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soutaro/subscriptions","organizations_url":"https://api.github.com/users/soutaro/orgs","repos_url":"https://api.github.com/users/soutaro/repos","events_url":"https://api.github.com/users/soutaro/events{/privacy}","received_events_url":"https://api.github.com/users/soutaro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-02T11:37:09Z","updated_at":"2016-08-02T13:18:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/troessner/reek/pulls/1002","html_url":"https://github.com/troessner/reek/pull/1002","diff_url":"https://github.com/troessner/reek/pull/1002.diff","patch_url":"https://github.com/troessner/reek/pull/1002.patch"},"body":"I did `git clone` the repo and tried to run test as `rake`. The result was an error because I have another version of JSON library installed:\r\n\r\n```\r\n/Users/soutaro/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:35:in `block in setup': You have already activated json 2.0.2, but your Gemfile requires json 1.8.3. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)\r\n```\r\n\r\nI tried `bundle exec rake` as recommended, but did not solve the issue.\r\n\r\nThis PR is to make test setup Bundler. I'm not very sure this fix makes sense (but it works!)."},"comment":{"url":"https://api.github.com/repos/troessner/reek/issues/comments/236901134","html_url":"https://github.com/troessner/reek/pull/1002#issuecomment-236901134","issue_url":"https://api.github.com/repos/troessner/reek/issues/1002","id":236901134,"user":{"login":"troessner","id":271109,"avatar_url":"https://avatars.githubusercontent.com/u/271109?v=3","gravatar_id":"","url":"https://api.github.com/users/troessner","html_url":"https://github.com/troessner","followers_url":"https://api.github.com/users/troessner/followers","following_url":"https://api.github.com/users/troessner/following{/other_user}","gists_url":"https://api.github.com/users/troessner/gists{/gist_id}","starred_url":"https://api.github.com/users/troessner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troessner/subscriptions","organizations_url":"https://api.github.com/users/troessner/orgs","repos_url":"https://api.github.com/users/troessner/repos","events_url":"https://api.github.com/users/troessner/events{/privacy}","received_events_url":"https://api.github.com/users/troessner/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T13:18:31Z","updated_at":"2016-08-02T13:18:31Z","body":"I don't see anything that speaks against merging this PR. Objections anyone?"}}
{"actor":{"display_login":"troessner"}}