{"action":"opened","number":143,"pull_request":{"url":"https://api.github.com/repos/shakacode/react_on_rails/pulls/143","id":52470719,"html_url":"https://github.com/shakacode/react_on_rails/pull/143","diff_url":"https://github.com/shakacode/react_on_rails/pull/143.diff","patch_url":"https://github.com/shakacode/react_on_rails/pull/143.patch","issue_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/143","number":143,"state":"open","locked":false,"title":"Check for config/initializers/assets.rb file","user":{"login":"buren","id":922411,"avatar_url":"https://avatars.githubusercontent.com/u/922411?v=3","gravatar_id":"","url":"https://api.github.com/users/buren","html_url":"https://github.com/buren","followers_url":"https://api.github.com/users/buren/followers","following_url":"https://api.github.com/users/buren/following{/other_user}","gists_url":"https://api.github.com/users/buren/gists{/gist_id}","starred_url":"https://api.github.com/users/buren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buren/subscriptions","organizations_url":"https://api.github.com/users/buren/orgs","repos_url":"https://api.github.com/users/buren/repos","events_url":"https://api.github.com/users/buren/events{/privacy}","received_events_url":"https://api.github.com/users/buren/received_events","type":"User","site_admin":false},"body":"First of all thanks for an awesome gem :star: \r\n\r\nreact_on_rails:install fails when there is no existing assets initializer file:\r\n\r\n```\r\n$ rails generate react_on_rails:install\r\n# ...\r\n# => No such file or directory @ rb_sysopen /Users/xxx../config/initializers/assets.rb\r\n```\r\n\r\nI added a small patch that followed the same pattern used in [`BootstrapGenerator#prepend_to_application_scss `](https://github.com/shakacode/react_on_rails/blob/213fd8049840387f32bdb626e20fbde29a5acea5/lib/generators/react_on_rails/bootstrap_generator.rb#L82).","created_at":"2015-12-02T23:30:34Z","updated_at":"2015-12-02T23:30:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6dcf1f1e63cb8c30aaed68c9032ee862a63cb71f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shakacode/react_on_rails/pulls/143/commits","review_comments_url":"https://api.github.com/repos/shakacode/react_on_rails/pulls/143/comments","review_comment_url":"https://api.github.com/repos/shakacode/react_on_rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/143/comments","statuses_url":"https://api.github.com/repos/shakacode/react_on_rails/statuses/1fd7e3e6f52c88ff783842b95ed49ff8c1970a7f","head":{"label":"buren:check-assets-initializer","ref":"check-assets-initializer","sha":"1fd7e3e6f52c88ff783842b95ed49ff8c1970a7f","user":{"login":"buren","id":922411,"avatar_url":"https://avatars.githubusercontent.com/u/922411?v=3","gravatar_id":"","url":"https://api.github.com/users/buren","html_url":"https://github.com/buren","followers_url":"https://api.github.com/users/buren/followers","following_url":"https://api.github.com/users/buren/following{/other_user}","gists_url":"https://api.github.com/users/buren/gists{/gist_id}","starred_url":"https://api.github.com/users/buren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buren/subscriptions","organizations_url":"https://api.github.com/users/buren/orgs","repos_url":"https://api.github.com/users/buren/repos","events_url":"https://api.github.com/users/buren/events{/privacy}","received_events_url":"https://api.github.com/users/buren/received_events","type":"User","site_admin":false},"repo":{"id":47281132,"name":"react_on_rails","full_name":"buren/react_on_rails","owner":{"login":"buren","id":922411,"avatar_url":"https://avatars.githubusercontent.com/u/922411?v=3","gravatar_id":"","url":"https://api.github.com/users/buren","html_url":"https://github.com/buren","followers_url":"https://api.github.com/users/buren/followers","following_url":"https://api.github.com/users/buren/following{/other_user}","gists_url":"https://api.github.com/users/buren/gists{/gist_id}","starred_url":"https://api.github.com/users/buren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buren/subscriptions","organizations_url":"https://api.github.com/users/buren/orgs","repos_url":"https://api.github.com/users/buren/repos","events_url":"https://api.github.com/users/buren/events{/privacy}","received_events_url":"https://api.github.com/users/buren/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/buren/react_on_rails","description":"Integration of React + Webpack + Rails to build Universal (Isomorphic) Apps","fork":true,"url":"https://api.github.com/repos/buren/react_on_rails","forks_url":"https://api.github.com/repos/buren/react_on_rails/forks","keys_url":"https://api.github.com/repos/buren/react_on_rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/buren/react_on_rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/buren/react_on_rails/teams","hooks_url":"https://api.github.com/repos/buren/react_on_rails/hooks","issue_events_url":"https://api.github.com/repos/buren/react_on_rails/issues/events{/number}","events_url":"https://api.github.com/repos/buren/react_on_rails/events","assignees_url":"https://api.github.com/repos/buren/react_on_rails/assignees{/user}","branches_url":"https://api.github.com/repos/buren/react_on_rails/branches{/branch}","tags_url":"https://api.github.com/repos/buren/react_on_rails/tags","blobs_url":"https://api.github.com/repos/buren/react_on_rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/buren/react_on_rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/buren/react_on_rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/buren/react_on_rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/buren/react_on_rails/statuses/{sha}","languages_url":"https://api.github.com/repos/buren/react_on_rails/languages","stargazers_url":"https://api.github.com/repos/buren/react_on_rails/stargazers","contributors_url":"https://api.github.com/repos/buren/react_on_rails/contributors","subscribers_url":"https://api.github.com/repos/buren/react_on_rails/subscribers","subscription_url":"https://api.github.com/repos/buren/react_on_rails/subscription","commits_url":"https://api.github.com/repos/buren/react_on_rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/buren/react_on_rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/buren/react_on_rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/buren/react_on_rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/buren/react_on_rails/contents/{+path}","compare_url":"https://api.github.com/repos/buren/react_on_rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/buren/react_on_rails/merges","archive_url":"https://api.github.com/repos/buren/react_on_rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/buren/react_on_rails/downloads","issues_url":"https://api.github.com/repos/buren/react_on_rails/issues{/number}","pulls_url":"https://api.github.com/repos/buren/react_on_rails/pulls{/number}","milestones_url":"https://api.github.com/repos/buren/react_on_rails/milestones{/number}","notifications_url":"https://api.github.com/repos/buren/react_on_rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/buren/react_on_rails/labels{/name}","releases_url":"https://api.github.com/repos/buren/react_on_rails/releases{/id}","created_at":"2015-12-02T18:46:59Z","updated_at":"2015-12-02T18:47:00Z","pushed_at":"2015-12-02T23:28:57Z","git_url":"git://github.com/buren/react_on_rails.git","ssh_url":"git@github.com:buren/react_on_rails.git","clone_url":"https://github.com/buren/react_on_rails.git","svn_url":"https://github.com/buren/react_on_rails","homepage":null,"size":732,"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":"shakacode:master","ref":"master","sha":"23258bbbaf64d5016baa1fa13d8397bc179d70b7","user":{"login":"shakacode","id":13779463,"avatar_url":"https://avatars.githubusercontent.com/u/13779463?v=3","gravatar_id":"","url":"https://api.github.com/users/shakacode","html_url":"https://github.com/shakacode","followers_url":"https://api.github.com/users/shakacode/followers","following_url":"https://api.github.com/users/shakacode/following{/other_user}","gists_url":"https://api.github.com/users/shakacode/gists{/gist_id}","starred_url":"https://api.github.com/users/shakacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakacode/subscriptions","organizations_url":"https://api.github.com/users/shakacode/orgs","repos_url":"https://api.github.com/users/shakacode/repos","events_url":"https://api.github.com/users/shakacode/events{/privacy}","received_events_url":"https://api.github.com/users/shakacode/received_events","type":"Organization","site_admin":false},"repo":{"id":41117523,"name":"react_on_rails","full_name":"shakacode/react_on_rails","owner":{"login":"shakacode","id":13779463,"avatar_url":"https://avatars.githubusercontent.com/u/13779463?v=3","gravatar_id":"","url":"https://api.github.com/users/shakacode","html_url":"https://github.com/shakacode","followers_url":"https://api.github.com/users/shakacode/followers","following_url":"https://api.github.com/users/shakacode/following{/other_user}","gists_url":"https://api.github.com/users/shakacode/gists{/gist_id}","starred_url":"https://api.github.com/users/shakacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakacode/subscriptions","organizations_url":"https://api.github.com/users/shakacode/orgs","repos_url":"https://api.github.com/users/shakacode/repos","events_url":"https://api.github.com/users/shakacode/events{/privacy}","received_events_url":"https://api.github.com/users/shakacode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shakacode/react_on_rails","description":"Integration of React + Webpack + Rails to build Universal (Isomorphic) Apps","fork":false,"url":"https://api.github.com/repos/shakacode/react_on_rails","forks_url":"https://api.github.com/repos/shakacode/react_on_rails/forks","keys_url":"https://api.github.com/repos/shakacode/react_on_rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shakacode/react_on_rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shakacode/react_on_rails/teams","hooks_url":"https://api.github.com/repos/shakacode/react_on_rails/hooks","issue_events_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/events{/number}","events_url":"https://api.github.com/repos/shakacode/react_on_rails/events","assignees_url":"https://api.github.com/repos/shakacode/react_on_rails/assignees{/user}","branches_url":"https://api.github.com/repos/shakacode/react_on_rails/branches{/branch}","tags_url":"https://api.github.com/repos/shakacode/react_on_rails/tags","blobs_url":"https://api.github.com/repos/shakacode/react_on_rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shakacode/react_on_rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shakacode/react_on_rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/shakacode/react_on_rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shakacode/react_on_rails/statuses/{sha}","languages_url":"https://api.github.com/repos/shakacode/react_on_rails/languages","stargazers_url":"https://api.github.com/repos/shakacode/react_on_rails/stargazers","contributors_url":"https://api.github.com/repos/shakacode/react_on_rails/contributors","subscribers_url":"https://api.github.com/repos/shakacode/react_on_rails/subscribers","subscription_url":"https://api.github.com/repos/shakacode/react_on_rails/subscription","commits_url":"https://api.github.com/repos/shakacode/react_on_rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/shakacode/react_on_rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/shakacode/react_on_rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/shakacode/react_on_rails/contents/{+path}","compare_url":"https://api.github.com/repos/shakacode/react_on_rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shakacode/react_on_rails/merges","archive_url":"https://api.github.com/repos/shakacode/react_on_rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shakacode/react_on_rails/downloads","issues_url":"https://api.github.com/repos/shakacode/react_on_rails/issues{/number}","pulls_url":"https://api.github.com/repos/shakacode/react_on_rails/pulls{/number}","milestones_url":"https://api.github.com/repos/shakacode/react_on_rails/milestones{/number}","notifications_url":"https://api.github.com/repos/shakacode/react_on_rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shakacode/react_on_rails/labels{/name}","releases_url":"https://api.github.com/repos/shakacode/react_on_rails/releases{/id}","created_at":"2015-08-20T20:31:54Z","updated_at":"2015-12-02T22:38:46Z","pushed_at":"2015-12-02T23:30:34Z","git_url":"git://github.com/shakacode/react_on_rails.git","ssh_url":"git@github.com:shakacode/react_on_rails.git","clone_url":"https://github.com/shakacode/react_on_rails.git","svn_url":"https://github.com/shakacode/react_on_rails","homepage":null,"size":821,"stargazers_count":422,"watchers_count":422,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":21,"forks":32,"open_issues":21,"watchers":422,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shakacode/react_on_rails/pulls/143"},"html":{"href":"https://github.com/shakacode/react_on_rails/pull/143"},"issue":{"href":"https://api.github.com/repos/shakacode/react_on_rails/issues/143"},"comments":{"href":"https://api.github.com/repos/shakacode/react_on_rails/issues/143/comments"},"review_comments":{"href":"https://api.github.com/repos/shakacode/react_on_rails/pulls/143/comments"},"review_comment":{"href":"https://api.github.com/repos/shakacode/react_on_rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shakacode/react_on_rails/pulls/143/commits"},"statuses":{"href":"https://api.github.com/repos/shakacode/react_on_rails/statuses/1fd7e3e6f52c88ff783842b95ed49ff8c1970a7f"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":1,"changed_files":1}}