{"action":"created","comment":{"url":"https://api.github.com/repos/jekyll/jekyll/pulls/comments/74540912","id":74540912,"diff_hunk":"@@ -114,6 +116,30 @@ def site_template\n         def scaffold_path\n           \"_posts/0000-00-00-welcome-to-jekyll.markdown.erb\"\n         end\n+\n+        def bundle_install(path)\n+          Jekyll::External.require_with_graceful_fail \"bundler\"\n+          $stdout.print \"\\nRun 'bundle install' with default theme? (Y/N)  \"","path":"lib/jekyll/commands/new.rb","position":16,"original_position":16,"commit_id":"2a43283fe78e7e248454e1d967016ad26e699875","original_commit_id":"2a43283fe78e7e248454e1d967016ad26e699875","user":{"login":"envygeeks","id":99763,"avatar_url":"https://avatars.githubusercontent.com/u/99763?v=3","gravatar_id":"","url":"https://api.github.com/users/envygeeks","html_url":"https://github.com/envygeeks","followers_url":"https://api.github.com/users/envygeeks/followers","following_url":"https://api.github.com/users/envygeeks/following{/other_user}","gists_url":"https://api.github.com/users/envygeeks/gists{/gist_id}","starred_url":"https://api.github.com/users/envygeeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/envygeeks/subscriptions","organizations_url":"https://api.github.com/users/envygeeks/orgs","repos_url":"https://api.github.com/users/envygeeks/repos","events_url":"https://api.github.com/users/envygeeks/events{/privacy}","received_events_url":"https://api.github.com/users/envygeeks/received_events","type":"User","site_admin":false},"body":"Please use the Jekyll Logger.","created_at":"2016-08-12T04:41:25Z","updated_at":"2016-08-12T04:41:25Z","html_url":"https://github.com/jekyll/jekyll/pull/5237#discussion_r74540912","pull_request_url":"https://api.github.com/repos/jekyll/jekyll/pulls/5237","_links":{"self":{"href":"https://api.github.com/repos/jekyll/jekyll/pulls/comments/74540912"},"html":{"href":"https://github.com/jekyll/jekyll/pull/5237#discussion_r74540912"},"pull_request":{"href":"https://api.github.com/repos/jekyll/jekyll/pulls/5237"}}},"pull_request":{"url":"https://api.github.com/repos/jekyll/jekyll/pulls/5237","id":81066140,"html_url":"https://github.com/jekyll/jekyll/pull/5237","diff_url":"https://github.com/jekyll/jekyll/pull/5237.diff","patch_url":"https://github.com/jekyll/jekyll/pull/5237.patch","issue_url":"https://api.github.com/repos/jekyll/jekyll/issues/5237","number":5237,"state":"open","locked":false,"title":"Add bundle install to jekyll new command","user":{"login":"ashmaroli","id":12479464,"avatar_url":"https://avatars.githubusercontent.com/u/12479464?v=3","gravatar_id":"","url":"https://api.github.com/users/ashmaroli","html_url":"https://github.com/ashmaroli","followers_url":"https://api.github.com/users/ashmaroli/followers","following_url":"https://api.github.com/users/ashmaroli/following{/other_user}","gists_url":"https://api.github.com/users/ashmaroli/gists{/gist_id}","starred_url":"https://api.github.com/users/ashmaroli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashmaroli/subscriptions","organizations_url":"https://api.github.com/users/ashmaroli/orgs","repos_url":"https://api.github.com/users/ashmaroli/repos","events_url":"https://api.github.com/users/ashmaroli/events{/privacy}","received_events_url":"https://api.github.com/users/ashmaroli/received_events","type":"User","site_admin":false},"body":"This PR proposes to extend the `jekyll new` command with following:\r\n- Automatically `cd my_blog` and initiate an interactive prompt to run `bundle install` \r\n\r\n> After you run `jekyll new my_blog` the command shell automatically `cd` into the new directory and initiates a user prompt whether to run bundle install right away. \r\n>If bundler is not installed, an exception is raised gracefully.\r\n> The user may choose to skip 'bundle install' if they plan to edit their new gemfile and change the theme gem, or if they want to inspect the new directory before running the `bundle install` command\r\n\r\nref: #5225 ","created_at":"2016-08-12T04:22:14Z","updated_at":"2016-08-12T04:41:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b6a64068342645b8fb7b97e9e5c694373e0dbed5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jekyll/jekyll/pulls/5237/commits","review_comments_url":"https://api.github.com/repos/jekyll/jekyll/pulls/5237/comments","review_comment_url":"https://api.github.com/repos/jekyll/jekyll/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jekyll/jekyll/issues/5237/comments","statuses_url":"https://api.github.com/repos/jekyll/jekyll/statuses/2a43283fe78e7e248454e1d967016ad26e699875","head":{"label":"ashmaroli:bundle2new","ref":"bundle2new","sha":"2a43283fe78e7e248454e1d967016ad26e699875","user":{"login":"ashmaroli","id":12479464,"avatar_url":"https://avatars.githubusercontent.com/u/12479464?v=3","gravatar_id":"","url":"https://api.github.com/users/ashmaroli","html_url":"https://github.com/ashmaroli","followers_url":"https://api.github.com/users/ashmaroli/followers","following_url":"https://api.github.com/users/ashmaroli/following{/other_user}","gists_url":"https://api.github.com/users/ashmaroli/gists{/gist_id}","starred_url":"https://api.github.com/users/ashmaroli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashmaroli/subscriptions","organizations_url":"https://api.github.com/users/ashmaroli/orgs","repos_url":"https://api.github.com/users/ashmaroli/repos","events_url":"https://api.github.com/users/ashmaroli/events{/privacy}","received_events_url":"https://api.github.com/users/ashmaroli/received_events","type":"User","site_admin":false},"repo":{"id":64485558,"name":"jekyll","full_name":"ashmaroli/jekyll","owner":{"login":"ashmaroli","id":12479464,"avatar_url":"https://avatars.githubusercontent.com/u/12479464?v=3","gravatar_id":"","url":"https://api.github.com/users/ashmaroli","html_url":"https://github.com/ashmaroli","followers_url":"https://api.github.com/users/ashmaroli/followers","following_url":"https://api.github.com/users/ashmaroli/following{/other_user}","gists_url":"https://api.github.com/users/ashmaroli/gists{/gist_id}","starred_url":"https://api.github.com/users/ashmaroli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashmaroli/subscriptions","organizations_url":"https://api.github.com/users/ashmaroli/orgs","repos_url":"https://api.github.com/users/ashmaroli/repos","events_url":"https://api.github.com/users/ashmaroli/events{/privacy}","received_events_url":"https://api.github.com/users/ashmaroli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ashmaroli/jekyll","description":":globe_with_meridians: Jekyll is a blog-aware, static site generator in Ruby","fork":true,"url":"https://api.github.com/repos/ashmaroli/jekyll","forks_url":"https://api.github.com/repos/ashmaroli/jekyll/forks","keys_url":"https://api.github.com/repos/ashmaroli/jekyll/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ashmaroli/jekyll/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ashmaroli/jekyll/teams","hooks_url":"https://api.github.com/repos/ashmaroli/jekyll/hooks","issue_events_url":"https://api.github.com/repos/ashmaroli/jekyll/issues/events{/number}","events_url":"https://api.github.com/repos/ashmaroli/jekyll/events","assignees_url":"https://api.github.com/repos/ashmaroli/jekyll/assignees{/user}","branches_url":"https://api.github.com/repos/ashmaroli/jekyll/branches{/branch}","tags_url":"https://api.github.com/repos/ashmaroli/jekyll/tags","blobs_url":"https://api.github.com/repos/ashmaroli/jekyll/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ashmaroli/jekyll/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ashmaroli/jekyll/git/refs{/sha}","trees_url":"https://api.github.com/repos/ashmaroli/jekyll/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ashmaroli/jekyll/statuses/{sha}","languages_url":"https://api.github.com/repos/ashmaroli/jekyll/languages","stargazers_url":"https://api.github.com/repos/ashmaroli/jekyll/stargazers","contributors_url":"https://api.github.com/repos/ashmaroli/jekyll/contributors","subscribers_url":"https://api.github.com/repos/ashmaroli/jekyll/subscribers","subscription_url":"https://api.github.com/repos/ashmaroli/jekyll/subscription","commits_url":"https://api.github.com/repos/ashmaroli/jekyll/commits{/sha}","git_commits_url":"https://api.github.com/repos/ashmaroli/jekyll/git/commits{/sha}","comments_url":"https://api.github.com/repos/ashmaroli/jekyll/comments{/number}","issue_comment_url":"https://api.github.com/repos/ashmaroli/jekyll/issues/comments{/number}","contents_url":"https://api.github.com/repos/ashmaroli/jekyll/contents/{+path}","compare_url":"https://api.github.com/repos/ashmaroli/jekyll/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ashmaroli/jekyll/merges","archive_url":"https://api.github.com/repos/ashmaroli/jekyll/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ashmaroli/jekyll/downloads","issues_url":"https://api.github.com/repos/ashmaroli/jekyll/issues{/number}","pulls_url":"https://api.github.com/repos/ashmaroli/jekyll/pulls{/number}","milestones_url":"https://api.github.com/repos/ashmaroli/jekyll/milestones{/number}","notifications_url":"https://api.github.com/repos/ashmaroli/jekyll/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ashmaroli/jekyll/labels{/name}","releases_url":"https://api.github.com/repos/ashmaroli/jekyll/releases{/id}","deployments_url":"https://api.github.com/repos/ashmaroli/jekyll/deployments","created_at":"2016-07-29T14:09:21Z","updated_at":"2016-07-29T14:09:25Z","pushed_at":"2016-08-12T04:33:31Z","git_url":"git://github.com/ashmaroli/jekyll.git","ssh_url":"git@github.com:ashmaroli/jekyll.git","clone_url":"https://github.com/ashmaroli/jekyll.git","svn_url":"https://github.com/ashmaroli/jekyll","homepage":"https://jekyllrb.com","size":18205,"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":"jekyll:master","ref":"master","sha":"9f8876a33278e956279e4dad978abc131a0d901c","user":{"login":"jekyll","id":3083652,"avatar_url":"https://avatars.githubusercontent.com/u/3083652?v=3","gravatar_id":"","url":"https://api.github.com/users/jekyll","html_url":"https://github.com/jekyll","followers_url":"https://api.github.com/users/jekyll/followers","following_url":"https://api.github.com/users/jekyll/following{/other_user}","gists_url":"https://api.github.com/users/jekyll/gists{/gist_id}","starred_url":"https://api.github.com/users/jekyll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekyll/subscriptions","organizations_url":"https://api.github.com/users/jekyll/orgs","repos_url":"https://api.github.com/users/jekyll/repos","events_url":"https://api.github.com/users/jekyll/events{/privacy}","received_events_url":"https://api.github.com/users/jekyll/received_events","type":"Organization","site_admin":false},"repo":{"id":65252,"name":"jekyll","full_name":"jekyll/jekyll","owner":{"login":"jekyll","id":3083652,"avatar_url":"https://avatars.githubusercontent.com/u/3083652?v=3","gravatar_id":"","url":"https://api.github.com/users/jekyll","html_url":"https://github.com/jekyll","followers_url":"https://api.github.com/users/jekyll/followers","following_url":"https://api.github.com/users/jekyll/following{/other_user}","gists_url":"https://api.github.com/users/jekyll/gists{/gist_id}","starred_url":"https://api.github.com/users/jekyll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekyll/subscriptions","organizations_url":"https://api.github.com/users/jekyll/orgs","repos_url":"https://api.github.com/users/jekyll/repos","events_url":"https://api.github.com/users/jekyll/events{/privacy}","received_events_url":"https://api.github.com/users/jekyll/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jekyll/jekyll","description":":globe_with_meridians: Jekyll is a blog-aware, static site generator in Ruby","fork":false,"url":"https://api.github.com/repos/jekyll/jekyll","forks_url":"https://api.github.com/repos/jekyll/jekyll/forks","keys_url":"https://api.github.com/repos/jekyll/jekyll/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jekyll/jekyll/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jekyll/jekyll/teams","hooks_url":"https://api.github.com/repos/jekyll/jekyll/hooks","issue_events_url":"https://api.github.com/repos/jekyll/jekyll/issues/events{/number}","events_url":"https://api.github.com/repos/jekyll/jekyll/events","assignees_url":"https://api.github.com/repos/jekyll/jekyll/assignees{/user}","branches_url":"https://api.github.com/repos/jekyll/jekyll/branches{/branch}","tags_url":"https://api.github.com/repos/jekyll/jekyll/tags","blobs_url":"https://api.github.com/repos/jekyll/jekyll/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jekyll/jekyll/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jekyll/jekyll/git/refs{/sha}","trees_url":"https://api.github.com/repos/jekyll/jekyll/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jekyll/jekyll/statuses/{sha}","languages_url":"https://api.github.com/repos/jekyll/jekyll/languages","stargazers_url":"https://api.github.com/repos/jekyll/jekyll/stargazers","contributors_url":"https://api.github.com/repos/jekyll/jekyll/contributors","subscribers_url":"https://api.github.com/repos/jekyll/jekyll/subscribers","subscription_url":"https://api.github.com/repos/jekyll/jekyll/subscription","commits_url":"https://api.github.com/repos/jekyll/jekyll/commits{/sha}","git_commits_url":"https://api.github.com/repos/jekyll/jekyll/git/commits{/sha}","comments_url":"https://api.github.com/repos/jekyll/jekyll/comments{/number}","issue_comment_url":"https://api.github.com/repos/jekyll/jekyll/issues/comments{/number}","contents_url":"https://api.github.com/repos/jekyll/jekyll/contents/{+path}","compare_url":"https://api.github.com/repos/jekyll/jekyll/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jekyll/jekyll/merges","archive_url":"https://api.github.com/repos/jekyll/jekyll/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jekyll/jekyll/downloads","issues_url":"https://api.github.com/repos/jekyll/jekyll/issues{/number}","pulls_url":"https://api.github.com/repos/jekyll/jekyll/pulls{/number}","milestones_url":"https://api.github.com/repos/jekyll/jekyll/milestones{/number}","notifications_url":"https://api.github.com/repos/jekyll/jekyll/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jekyll/jekyll/labels{/name}","releases_url":"https://api.github.com/repos/jekyll/jekyll/releases{/id}","deployments_url":"https://api.github.com/repos/jekyll/jekyll/deployments","created_at":"2008-10-20T06:29:03Z","updated_at":"2016-08-12T03:40:38Z","pushed_at":"2016-08-12T04:33:32Z","git_url":"git://github.com/jekyll/jekyll.git","ssh_url":"git@github.com:jekyll/jekyll.git","clone_url":"https://github.com/jekyll/jekyll.git","svn_url":"https://github.com/jekyll/jekyll","homepage":"https://jekyllrb.com","size":30029,"stargazers_count":26435,"watchers_count":26435,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5803,"mirror_url":null,"open_issues_count":86,"forks":5803,"open_issues":86,"watchers":26435,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jekyll/jekyll/pulls/5237"},"html":{"href":"https://github.com/jekyll/jekyll/pull/5237"},"issue":{"href":"https://api.github.com/repos/jekyll/jekyll/issues/5237"},"comments":{"href":"https://api.github.com/repos/jekyll/jekyll/issues/5237/comments"},"review_comments":{"href":"https://api.github.com/repos/jekyll/jekyll/pulls/5237/comments"},"review_comment":{"href":"https://api.github.com/repos/jekyll/jekyll/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jekyll/jekyll/pulls/5237/commits"},"statuses":{"href":"https://api.github.com/repos/jekyll/jekyll/statuses/2a43283fe78e7e248454e1d967016ad26e699875"}}}}
{"actor":{"display_login":"envygeeks"}}