{"action":"closed","number":374,"pull_request":{"url":"https://api.github.com/repos/shakacode/react_on_rails/pulls/374","id":65530325,"html_url":"https://github.com/shakacode/react_on_rails/pull/374","diff_url":"https://github.com/shakacode/react_on_rails/pull/374.diff","patch_url":"https://github.com/shakacode/react_on_rails/pull/374.patch","issue_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/374","number":374,"state":"closed","locked":false,"title":"Cross-platform `which` to find nodejs & NPM","user":{"login":"john-osullivan","id":3820981,"avatar_url":"https://avatars.githubusercontent.com/u/3820981?v=3","gravatar_id":"","url":"https://api.github.com/users/john-osullivan","html_url":"https://github.com/john-osullivan","followers_url":"https://api.github.com/users/john-osullivan/followers","following_url":"https://api.github.com/users/john-osullivan/following{/other_user}","gists_url":"https://api.github.com/users/john-osullivan/gists{/gist_id}","starred_url":"https://api.github.com/users/john-osullivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-osullivan/subscriptions","organizations_url":"https://api.github.com/users/john-osullivan/orgs","repos_url":"https://api.github.com/users/john-osullivan/repos","events_url":"https://api.github.com/users/john-osullivan/events{/privacy}","received_events_url":"https://api.github.com/users/john-osullivan/received_events","type":"User","site_admin":false},"body":"This is the PR including the code from https://github.com/shakacode/react_on_rails/issues/373, added in a link to the source in case somebody from the future is curious.  All it does is replace `install-generator.rb`'s usage of the Unix-only `which` command with a cross-platform method written by a friendly StackOverflow user.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/shakacode/react_on_rails/374)\n<!-- Reviewable:end -->\n","created_at":"2016-04-06T20:26:01Z","updated_at":"2016-05-06T08:22:30Z","closed_at":"2016-05-06T08:22:30Z","merged_at":null,"merge_commit_sha":"7e7f1e1e1708dee52f8ab35332529dd5149ce2b1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shakacode/react_on_rails/pulls/374/commits","review_comments_url":"https://api.github.com/repos/shakacode/react_on_rails/pulls/374/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/374/comments","statuses_url":"https://api.github.com/repos/shakacode/react_on_rails/statuses/9d96b3ecc557a813dec6134268be8f73341f97e4","head":{"label":"john-osullivan:master","ref":"master","sha":"9d96b3ecc557a813dec6134268be8f73341f97e4","user":{"login":"john-osullivan","id":3820981,"avatar_url":"https://avatars.githubusercontent.com/u/3820981?v=3","gravatar_id":"","url":"https://api.github.com/users/john-osullivan","html_url":"https://github.com/john-osullivan","followers_url":"https://api.github.com/users/john-osullivan/followers","following_url":"https://api.github.com/users/john-osullivan/following{/other_user}","gists_url":"https://api.github.com/users/john-osullivan/gists{/gist_id}","starred_url":"https://api.github.com/users/john-osullivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-osullivan/subscriptions","organizations_url":"https://api.github.com/users/john-osullivan/orgs","repos_url":"https://api.github.com/users/john-osullivan/repos","events_url":"https://api.github.com/users/john-osullivan/events{/privacy}","received_events_url":"https://api.github.com/users/john-osullivan/received_events","type":"User","site_admin":false},"repo":{"id":55637639,"name":"react_on_rails","full_name":"john-osullivan/react_on_rails","owner":{"login":"john-osullivan","id":3820981,"avatar_url":"https://avatars.githubusercontent.com/u/3820981?v=3","gravatar_id":"","url":"https://api.github.com/users/john-osullivan","html_url":"https://github.com/john-osullivan","followers_url":"https://api.github.com/users/john-osullivan/followers","following_url":"https://api.github.com/users/john-osullivan/following{/other_user}","gists_url":"https://api.github.com/users/john-osullivan/gists{/gist_id}","starred_url":"https://api.github.com/users/john-osullivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-osullivan/subscriptions","organizations_url":"https://api.github.com/users/john-osullivan/orgs","repos_url":"https://api.github.com/users/john-osullivan/repos","events_url":"https://api.github.com/users/john-osullivan/events{/privacy}","received_events_url":"https://api.github.com/users/john-osullivan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/john-osullivan/react_on_rails","description":"Integration of React + Webpack + Rails to build Universal (Isomorphic) Apps","fork":true,"url":"https://api.github.com/repos/john-osullivan/react_on_rails","forks_url":"https://api.github.com/repos/john-osullivan/react_on_rails/forks","keys_url":"https://api.github.com/repos/john-osullivan/react_on_rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/john-osullivan/react_on_rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/john-osullivan/react_on_rails/teams","hooks_url":"https://api.github.com/repos/john-osullivan/react_on_rails/hooks","issue_events_url":"https://api.github.com/repos/john-osullivan/react_on_rails/issues/events{/number}","events_url":"https://api.github.com/repos/john-osullivan/react_on_rails/events","assignees_url":"https://api.github.com/repos/john-osullivan/react_on_rails/assignees{/user}","branches_url":"https://api.github.com/repos/john-osullivan/react_on_rails/branches{/branch}","tags_url":"https://api.github.com/repos/john-osullivan/react_on_rails/tags","blobs_url":"https://api.github.com/repos/john-osullivan/react_on_rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/john-osullivan/react_on_rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/john-osullivan/react_on_rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/john-osullivan/react_on_rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/john-osullivan/react_on_rails/statuses/{sha}","languages_url":"https://api.github.com/repos/john-osullivan/react_on_rails/languages","stargazers_url":"https://api.github.com/repos/john-osullivan/react_on_rails/stargazers","contributors_url":"https://api.github.com/repos/john-osullivan/react_on_rails/contributors","subscribers_url":"https://api.github.com/repos/john-osullivan/react_on_rails/subscribers","subscription_url":"https://api.github.com/repos/john-osullivan/react_on_rails/subscription","commits_url":"https://api.github.com/repos/john-osullivan/react_on_rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/john-osullivan/react_on_rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/john-osullivan/react_on_rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/john-osullivan/react_on_rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/john-osullivan/react_on_rails/contents/{+path}","compare_url":"https://api.github.com/repos/john-osullivan/react_on_rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/john-osullivan/react_on_rails/merges","archive_url":"https://api.github.com/repos/john-osullivan/react_on_rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/john-osullivan/react_on_rails/downloads","issues_url":"https://api.github.com/repos/john-osullivan/react_on_rails/issues{/number}","pulls_url":"https://api.github.com/repos/john-osullivan/react_on_rails/pulls{/number}","milestones_url":"https://api.github.com/repos/john-osullivan/react_on_rails/milestones{/number}","notifications_url":"https://api.github.com/repos/john-osullivan/react_on_rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/john-osullivan/react_on_rails/labels{/name}","releases_url":"https://api.github.com/repos/john-osullivan/react_on_rails/releases{/id}","deployments_url":"https://api.github.com/repos/john-osullivan/react_on_rails/deployments","created_at":"2016-04-06T20:17:31Z","updated_at":"2016-04-06T20:17:32Z","pushed_at":"2016-04-06T20:22:39Z","git_url":"git://github.com/john-osullivan/react_on_rails.git","ssh_url":"git@github.com:john-osullivan/react_on_rails.git","clone_url":"https://github.com/john-osullivan/react_on_rails.git","svn_url":"https://github.com/john-osullivan/react_on_rails","homepage":null,"size":1736,"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":"5929b3aeac7da3d3499308ecd8d8eb7defaf182b","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}","deployments_url":"https://api.github.com/repos/shakacode/react_on_rails/deployments","created_at":"2015-08-20T20:31:54Z","updated_at":"2016-05-06T04:01:13Z","pushed_at":"2016-05-06T08:03:46Z","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":61132,"stargazers_count":1455,"watchers_count":1455,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":135,"mirror_url":null,"open_issues_count":32,"forks":135,"open_issues":32,"watchers":1455,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shakacode/react_on_rails/pulls/374"},"html":{"href":"https://github.com/shakacode/react_on_rails/pull/374"},"issue":{"href":"https://api.github.com/repos/shakacode/react_on_rails/issues/374"},"comments":{"href":"https://api.github.com/repos/shakacode/react_on_rails/issues/374/comments"},"review_comments":{"href":"https://api.github.com/repos/shakacode/react_on_rails/pulls/374/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/374/commits"},"statuses":{"href":"https://api.github.com/repos/shakacode/react_on_rails/statuses/9d96b3ecc557a813dec6134268be8f73341f97e4"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":4,"review_comments":0,"commits":2,"additions":16,"deletions":2,"changed_files":1}}