{"action":"closed","number":14,"pull_request":{"url":"https://api.github.com/repos/palkan/logidze/pulls/14","id":94404586,"html_url":"https://github.com/palkan/logidze/pull/14","diff_url":"https://github.com/palkan/logidze/pull/14.diff","patch_url":"https://github.com/palkan/logidze/pull/14.patch","issue_url":"https://api.github.com/repos/palkan/logidze/issues/14","number":14,"state":"closed","locked":false,"title":"Fix error when running ./bin/setup with Rails 5.0.0.1","user":{"login":"smaximov","id":1370047,"avatar_url":"https://avatars.githubusercontent.com/u/1370047?v=3","gravatar_id":"","url":"https://api.github.com/users/smaximov","html_url":"https://github.com/smaximov","followers_url":"https://api.github.com/users/smaximov/followers","following_url":"https://api.github.com/users/smaximov/following{/other_user}","gists_url":"https://api.github.com/users/smaximov/gists{/gist_id}","starred_url":"https://api.github.com/users/smaximov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smaximov/subscriptions","organizations_url":"https://api.github.com/users/smaximov/orgs","repos_url":"https://api.github.com/users/smaximov/repos","events_url":"https://api.github.com/users/smaximov/events{/privacy}","received_events_url":"https://api.github.com/users/smaximov/received_events","type":"User","site_admin":false},"body":"When trying to set up development environment via `./bin/setup` using a new RVM gemset with Ruby 2.3.0 and Rails 5.0.0.1, the following error occures (caused by [these](https://github.com/palkan/logidze/blob/aaa44bae2c589917ae4455a7b053318f0e9465d9/spec/dummy/config/environments/development.rb#L28-L37) lines):\r\n\r\n```\r\nResolving dependencies...\r\nThe Gemfile's dependencies are satisfied\r\nDatabase 'dummy_development' already exists\r\nDatabase 'logidze_test' already exists\r\nrake aborted!\r\nNoMethodError: undefined method `assets' for #<Rails::Application::Configuration:0x00000001de17e0>\r\nDid you mean?  asset_host\r\n[ ... STACKTRACE ... ]\r\n```\r\n\r\nSteps to reproduce:\r\n\r\n1. Create and enable a new RVM gemset:\r\n    \r\n    ````\r\n   $ rvm use 2.3.0  \r\n   $ rvm gemset create logidze-test\r\n   $ rvm gemset use logidze-test\r\n    ````\r\n\r\n2. Clone the repo.\r\n3. Run `./bin/setup`.\r\n\r\nThis patch fixes the error by checking if `Rails::Application::Configuration` responds to `#assets` first. An alternative solution is to uncomment the line `# require 'sprockets/railtie` in `spec/dummy/config/application.rb`.","created_at":"2016-11-18T17:35:45Z","updated_at":"2016-11-18T18:18:05Z","closed_at":"2016-11-18T18:18:05Z","merged_at":"2016-11-18T18:18:05Z","merge_commit_sha":"40bcc38a9c41674b1859b3b52ec1c3d52b251f43","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/palkan/logidze/pulls/14/commits","review_comments_url":"https://api.github.com/repos/palkan/logidze/pulls/14/comments","review_comment_url":"https://api.github.com/repos/palkan/logidze/pulls/comments{/number}","comments_url":"https://api.github.com/repos/palkan/logidze/issues/14/comments","statuses_url":"https://api.github.com/repos/palkan/logidze/statuses/bd7e8fe67b597815879b35bf1966dfaddeddc73f","head":{"label":"smaximov:fix/bin-setup","ref":"fix/bin-setup","sha":"bd7e8fe67b597815879b35bf1966dfaddeddc73f","user":{"login":"smaximov","id":1370047,"avatar_url":"https://avatars.githubusercontent.com/u/1370047?v=3","gravatar_id":"","url":"https://api.github.com/users/smaximov","html_url":"https://github.com/smaximov","followers_url":"https://api.github.com/users/smaximov/followers","following_url":"https://api.github.com/users/smaximov/following{/other_user}","gists_url":"https://api.github.com/users/smaximov/gists{/gist_id}","starred_url":"https://api.github.com/users/smaximov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smaximov/subscriptions","organizations_url":"https://api.github.com/users/smaximov/orgs","repos_url":"https://api.github.com/users/smaximov/repos","events_url":"https://api.github.com/users/smaximov/events{/privacy}","received_events_url":"https://api.github.com/users/smaximov/received_events","type":"User","site_admin":false},"repo":{"id":74142494,"name":"logidze","full_name":"smaximov/logidze","owner":{"login":"smaximov","id":1370047,"avatar_url":"https://avatars.githubusercontent.com/u/1370047?v=3","gravatar_id":"","url":"https://api.github.com/users/smaximov","html_url":"https://github.com/smaximov","followers_url":"https://api.github.com/users/smaximov/followers","following_url":"https://api.github.com/users/smaximov/following{/other_user}","gists_url":"https://api.github.com/users/smaximov/gists{/gist_id}","starred_url":"https://api.github.com/users/smaximov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smaximov/subscriptions","organizations_url":"https://api.github.com/users/smaximov/orgs","repos_url":"https://api.github.com/users/smaximov/repos","events_url":"https://api.github.com/users/smaximov/events{/privacy}","received_events_url":"https://api.github.com/users/smaximov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smaximov/logidze","description":"Database changes log for Rails","fork":true,"url":"https://api.github.com/repos/smaximov/logidze","forks_url":"https://api.github.com/repos/smaximov/logidze/forks","keys_url":"https://api.github.com/repos/smaximov/logidze/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smaximov/logidze/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smaximov/logidze/teams","hooks_url":"https://api.github.com/repos/smaximov/logidze/hooks","issue_events_url":"https://api.github.com/repos/smaximov/logidze/issues/events{/number}","events_url":"https://api.github.com/repos/smaximov/logidze/events","assignees_url":"https://api.github.com/repos/smaximov/logidze/assignees{/user}","branches_url":"https://api.github.com/repos/smaximov/logidze/branches{/branch}","tags_url":"https://api.github.com/repos/smaximov/logidze/tags","blobs_url":"https://api.github.com/repos/smaximov/logidze/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smaximov/logidze/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smaximov/logidze/git/refs{/sha}","trees_url":"https://api.github.com/repos/smaximov/logidze/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smaximov/logidze/statuses/{sha}","languages_url":"https://api.github.com/repos/smaximov/logidze/languages","stargazers_url":"https://api.github.com/repos/smaximov/logidze/stargazers","contributors_url":"https://api.github.com/repos/smaximov/logidze/contributors","subscribers_url":"https://api.github.com/repos/smaximov/logidze/subscribers","subscription_url":"https://api.github.com/repos/smaximov/logidze/subscription","commits_url":"https://api.github.com/repos/smaximov/logidze/commits{/sha}","git_commits_url":"https://api.github.com/repos/smaximov/logidze/git/commits{/sha}","comments_url":"https://api.github.com/repos/smaximov/logidze/comments{/number}","issue_comment_url":"https://api.github.com/repos/smaximov/logidze/issues/comments{/number}","contents_url":"https://api.github.com/repos/smaximov/logidze/contents/{+path}","compare_url":"https://api.github.com/repos/smaximov/logidze/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smaximov/logidze/merges","archive_url":"https://api.github.com/repos/smaximov/logidze/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smaximov/logidze/downloads","issues_url":"https://api.github.com/repos/smaximov/logidze/issues{/number}","pulls_url":"https://api.github.com/repos/smaximov/logidze/pulls{/number}","milestones_url":"https://api.github.com/repos/smaximov/logidze/milestones{/number}","notifications_url":"https://api.github.com/repos/smaximov/logidze/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smaximov/logidze/labels{/name}","releases_url":"https://api.github.com/repos/smaximov/logidze/releases{/id}","deployments_url":"https://api.github.com/repos/smaximov/logidze/deployments","created_at":"2016-11-18T15:36:17Z","updated_at":"2016-11-18T15:36:18Z","pushed_at":"2016-11-18T18:07:30Z","git_url":"git://github.com/smaximov/logidze.git","ssh_url":"git@github.com:smaximov/logidze.git","clone_url":"https://github.com/smaximov/logidze.git","svn_url":"https://github.com/smaximov/logidze","homepage":"","size":113,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"palkan:master","ref":"master","sha":"aaa44bae2c589917ae4455a7b053318f0e9465d9","user":{"login":"palkan","id":1516722,"avatar_url":"https://avatars.githubusercontent.com/u/1516722?v=3","gravatar_id":"","url":"https://api.github.com/users/palkan","html_url":"https://github.com/palkan","followers_url":"https://api.github.com/users/palkan/followers","following_url":"https://api.github.com/users/palkan/following{/other_user}","gists_url":"https://api.github.com/users/palkan/gists{/gist_id}","starred_url":"https://api.github.com/users/palkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palkan/subscriptions","organizations_url":"https://api.github.com/users/palkan/orgs","repos_url":"https://api.github.com/users/palkan/repos","events_url":"https://api.github.com/users/palkan/events{/privacy}","received_events_url":"https://api.github.com/users/palkan/received_events","type":"User","site_admin":false},"repo":{"id":56171308,"name":"logidze","full_name":"palkan/logidze","owner":{"login":"palkan","id":1516722,"avatar_url":"https://avatars.githubusercontent.com/u/1516722?v=3","gravatar_id":"","url":"https://api.github.com/users/palkan","html_url":"https://github.com/palkan","followers_url":"https://api.github.com/users/palkan/followers","following_url":"https://api.github.com/users/palkan/following{/other_user}","gists_url":"https://api.github.com/users/palkan/gists{/gist_id}","starred_url":"https://api.github.com/users/palkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palkan/subscriptions","organizations_url":"https://api.github.com/users/palkan/orgs","repos_url":"https://api.github.com/users/palkan/repos","events_url":"https://api.github.com/users/palkan/events{/privacy}","received_events_url":"https://api.github.com/users/palkan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/palkan/logidze","description":"Database changes log for Rails","fork":false,"url":"https://api.github.com/repos/palkan/logidze","forks_url":"https://api.github.com/repos/palkan/logidze/forks","keys_url":"https://api.github.com/repos/palkan/logidze/keys{/key_id}","collaborators_url":"https://api.github.com/repos/palkan/logidze/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/palkan/logidze/teams","hooks_url":"https://api.github.com/repos/palkan/logidze/hooks","issue_events_url":"https://api.github.com/repos/palkan/logidze/issues/events{/number}","events_url":"https://api.github.com/repos/palkan/logidze/events","assignees_url":"https://api.github.com/repos/palkan/logidze/assignees{/user}","branches_url":"https://api.github.com/repos/palkan/logidze/branches{/branch}","tags_url":"https://api.github.com/repos/palkan/logidze/tags","blobs_url":"https://api.github.com/repos/palkan/logidze/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/palkan/logidze/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/palkan/logidze/git/refs{/sha}","trees_url":"https://api.github.com/repos/palkan/logidze/git/trees{/sha}","statuses_url":"https://api.github.com/repos/palkan/logidze/statuses/{sha}","languages_url":"https://api.github.com/repos/palkan/logidze/languages","stargazers_url":"https://api.github.com/repos/palkan/logidze/stargazers","contributors_url":"https://api.github.com/repos/palkan/logidze/contributors","subscribers_url":"https://api.github.com/repos/palkan/logidze/subscribers","subscription_url":"https://api.github.com/repos/palkan/logidze/subscription","commits_url":"https://api.github.com/repos/palkan/logidze/commits{/sha}","git_commits_url":"https://api.github.com/repos/palkan/logidze/git/commits{/sha}","comments_url":"https://api.github.com/repos/palkan/logidze/comments{/number}","issue_comment_url":"https://api.github.com/repos/palkan/logidze/issues/comments{/number}","contents_url":"https://api.github.com/repos/palkan/logidze/contents/{+path}","compare_url":"https://api.github.com/repos/palkan/logidze/compare/{base}...{head}","merges_url":"https://api.github.com/repos/palkan/logidze/merges","archive_url":"https://api.github.com/repos/palkan/logidze/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/palkan/logidze/downloads","issues_url":"https://api.github.com/repos/palkan/logidze/issues{/number}","pulls_url":"https://api.github.com/repos/palkan/logidze/pulls{/number}","milestones_url":"https://api.github.com/repos/palkan/logidze/milestones{/number}","notifications_url":"https://api.github.com/repos/palkan/logidze/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/palkan/logidze/labels{/name}","releases_url":"https://api.github.com/repos/palkan/logidze/releases{/id}","deployments_url":"https://api.github.com/repos/palkan/logidze/deployments","created_at":"2016-04-13T17:12:54Z","updated_at":"2016-11-18T06:57:51Z","pushed_at":"2016-11-18T18:18:05Z","git_url":"git://github.com/palkan/logidze.git","ssh_url":"git@github.com:palkan/logidze.git","clone_url":"https://github.com/palkan/logidze.git","svn_url":"https://github.com/palkan/logidze","homepage":"","size":111,"stargazers_count":188,"watchers_count":188,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":188,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/palkan/logidze/pulls/14"},"html":{"href":"https://github.com/palkan/logidze/pull/14"},"issue":{"href":"https://api.github.com/repos/palkan/logidze/issues/14"},"comments":{"href":"https://api.github.com/repos/palkan/logidze/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/palkan/logidze/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/palkan/logidze/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/palkan/logidze/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/palkan/logidze/statuses/bd7e8fe67b597815879b35bf1966dfaddeddc73f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"palkan","id":1516722,"avatar_url":"https://avatars.githubusercontent.com/u/1516722?v=3","gravatar_id":"","url":"https://api.github.com/users/palkan","html_url":"https://github.com/palkan","followers_url":"https://api.github.com/users/palkan/followers","following_url":"https://api.github.com/users/palkan/following{/other_user}","gists_url":"https://api.github.com/users/palkan/gists{/gist_id}","starred_url":"https://api.github.com/users/palkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palkan/subscriptions","organizations_url":"https://api.github.com/users/palkan/orgs","repos_url":"https://api.github.com/users/palkan/repos","events_url":"https://api.github.com/users/palkan/events{/privacy}","received_events_url":"https://api.github.com/users/palkan/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":2,"additions":0,"deletions":15,"changed_files":2}}
{"actor":{"display_login":"palkan"}}