{"action":"opened","number":355,"pull_request":{"url":"https://api.github.com/repos/lotus/lotus/pulls/355","id":46739217,"html_url":"https://github.com/lotus/lotus/pull/355","diff_url":"https://github.com/lotus/lotus/pull/355.diff","patch_url":"https://github.com/lotus/lotus/pull/355.patch","issue_url":"https://api.github.com/repos/lotus/lotus/issues/355","number":355,"state":"open","locked":false,"title":"Adds Bundler as a runtime dependency","user":{"login":"lucasallan","id":39306,"avatar_url":"https://avatars.githubusercontent.com/u/39306?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasallan","html_url":"https://github.com/lucasallan","followers_url":"https://api.github.com/users/lucasallan/followers","following_url":"https://api.github.com/users/lucasallan/following{/other_user}","gists_url":"https://api.github.com/users/lucasallan/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasallan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasallan/subscriptions","organizations_url":"https://api.github.com/users/lucasallan/orgs","repos_url":"https://api.github.com/users/lucasallan/repos","events_url":"https://api.github.com/users/lucasallan/events{/privacy}","received_events_url":"https://api.github.com/users/lucasallan/received_events","type":"User","site_admin":false},"body":"I noticed that Lotus doesn't have `Bundler` as a runtime dependency, it doesn't seem like an issue but I saw a beginner Ruby developer struggling with that. He basically tried to follow Lotus tutorial and it didn't work because he didn't have bundler previously installed.\r\n\r\nAdding `Bundler` as a runtime dependency since by default Lotus applications do use Bundler as a dependency manager.\r\n\r\n```\r\n➜  projects  lotus new bookshelf\r\n      create  bookshelf/.lotusrc\r\n      create  bookshelf/.env\r\n      create  bookshelf/.env.development\r\n      create  bookshelf/.env.test\r\n      create  bookshelf/Gemfile\r\n      create  bookshelf/config.ru\r\n      create  bookshelf/config/environment.rb\r\n      create  bookshelf/lib/bookshelf.rb\r\n      create  bookshelf/lib/config/mapping.rb\r\n      create  bookshelf/Rakefile\r\n      create  bookshelf/spec/spec_helper.rb\r\n      create  bookshelf/spec/features_helper.rb\r\n      create  bookshelf/lib/bookshelf/entities/.gitkeep\r\n      create  bookshelf/lib/bookshelf/repositories/.gitkeep\r\n      create  bookshelf/lib/bookshelf/mailers/.gitkeep\r\n      create  bookshelf/db/.gitkeep\r\n      create  bookshelf/spec/bookshelf/entities/.gitkeep\r\n      create  bookshelf/spec/bookshelf/repositories/.gitkeep\r\n      create  bookshelf/spec/bookshelf/mailers/.gitkeep\r\n      create  bookshelf/spec/support/.gitkeep\r\n      create  bookshelf/.gitignore\r\n         run  git init /Users/lucas/Projetos/open-source/bookshelf from \".\"\r\n      insert  bookshelf/config/environment.rb\r\n      insert  bookshelf/config/environment.rb\r\n      append  bookshelf/.env.development\r\n      append  bookshelf/.env.test\r\n      create  bookshelf/apps/web/application.rb\r\n      create  bookshelf/apps/web/config/routes.rb\r\n      create  bookshelf/apps/web/views/application_layout.rb\r\n      create  bookshelf/apps/web/templates/application.html.erb\r\n      create  bookshelf/apps/web/controllers/.gitkeep\r\n      create  bookshelf/apps/web/public/javascripts/.gitkeep\r\n      create  bookshelf/apps/web/public/stylesheets/.gitkeep\r\n      create  bookshelf/spec/web/features/.gitkeep\r\n      create  bookshelf/spec/web/controllers/.gitkeep\r\n      create  bookshelf/spec/web/views/.gitkeep\r\n➜ projects  cd bookshelf \r\ntotal 24\r\n-rw-r--r--  1 lucas  staff    57B  4 Oct 18:42 config.ru\r\ndrwxr-xr-x  2 lucas  staff   102B  4 Oct 18:42 config\r\n-rw-r--r--  1 lucas  staff   164B  4 Oct 18:42 Rakefile\r\n-rw-r--r--  1 lucas  staff   208B  4 Oct 18:42 Gemfile\r\ndrwxr-xr-x  5 lucas  staff   238B  4 Oct 18:42 spec\r\ndrwxr-xr-x  4 lucas  staff   170B  4 Oct 18:42 lib\r\ndrwxr-xr-x  2 lucas  staff   102B  4 Oct 18:42 db\r\ndrwxr-xr-x  3 lucas  staff   102B  4 Oct 18:42 apps\r\n➜  bookshelf git:(master) ✗ ls\r\nGemfile   Rakefile  apps      config    config.ru db        lib       spec\r\n➜  bookshelf git:(master) ✗ bundle install\r\nzsh: command not found: bundle\r\n```","created_at":"2015-10-05T01:55:07Z","updated_at":"2015-10-05T01:55:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lotus/lotus/pulls/355/commits","review_comments_url":"https://api.github.com/repos/lotus/lotus/pulls/355/comments","review_comment_url":"https://api.github.com/repos/lotus/lotus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lotus/lotus/issues/355/comments","statuses_url":"https://api.github.com/repos/lotus/lotus/statuses/dfbc0c4cc29474f3f86bdb44206829bd2f170d61","head":{"label":"lucasallan:bundler","ref":"bundler","sha":"dfbc0c4cc29474f3f86bdb44206829bd2f170d61","user":{"login":"lucasallan","id":39306,"avatar_url":"https://avatars.githubusercontent.com/u/39306?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasallan","html_url":"https://github.com/lucasallan","followers_url":"https://api.github.com/users/lucasallan/followers","following_url":"https://api.github.com/users/lucasallan/following{/other_user}","gists_url":"https://api.github.com/users/lucasallan/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasallan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasallan/subscriptions","organizations_url":"https://api.github.com/users/lucasallan/orgs","repos_url":"https://api.github.com/users/lucasallan/repos","events_url":"https://api.github.com/users/lucasallan/events{/privacy}","received_events_url":"https://api.github.com/users/lucasallan/received_events","type":"User","site_admin":false},"repo":{"id":43660335,"name":"lotus","full_name":"lucasallan/lotus","owner":{"login":"lucasallan","id":39306,"avatar_url":"https://avatars.githubusercontent.com/u/39306?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasallan","html_url":"https://github.com/lucasallan","followers_url":"https://api.github.com/users/lucasallan/followers","following_url":"https://api.github.com/users/lucasallan/following{/other_user}","gists_url":"https://api.github.com/users/lucasallan/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasallan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasallan/subscriptions","organizations_url":"https://api.github.com/users/lucasallan/orgs","repos_url":"https://api.github.com/users/lucasallan/repos","events_url":"https://api.github.com/users/lucasallan/events{/privacy}","received_events_url":"https://api.github.com/users/lucasallan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucasallan/lotus","description":"A complete web framework for Ruby","fork":true,"url":"https://api.github.com/repos/lucasallan/lotus","forks_url":"https://api.github.com/repos/lucasallan/lotus/forks","keys_url":"https://api.github.com/repos/lucasallan/lotus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucasallan/lotus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucasallan/lotus/teams","hooks_url":"https://api.github.com/repos/lucasallan/lotus/hooks","issue_events_url":"https://api.github.com/repos/lucasallan/lotus/issues/events{/number}","events_url":"https://api.github.com/repos/lucasallan/lotus/events","assignees_url":"https://api.github.com/repos/lucasallan/lotus/assignees{/user}","branches_url":"https://api.github.com/repos/lucasallan/lotus/branches{/branch}","tags_url":"https://api.github.com/repos/lucasallan/lotus/tags","blobs_url":"https://api.github.com/repos/lucasallan/lotus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucasallan/lotus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucasallan/lotus/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucasallan/lotus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucasallan/lotus/statuses/{sha}","languages_url":"https://api.github.com/repos/lucasallan/lotus/languages","stargazers_url":"https://api.github.com/repos/lucasallan/lotus/stargazers","contributors_url":"https://api.github.com/repos/lucasallan/lotus/contributors","subscribers_url":"https://api.github.com/repos/lucasallan/lotus/subscribers","subscription_url":"https://api.github.com/repos/lucasallan/lotus/subscription","commits_url":"https://api.github.com/repos/lucasallan/lotus/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucasallan/lotus/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucasallan/lotus/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucasallan/lotus/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucasallan/lotus/contents/{+path}","compare_url":"https://api.github.com/repos/lucasallan/lotus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucasallan/lotus/merges","archive_url":"https://api.github.com/repos/lucasallan/lotus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucasallan/lotus/downloads","issues_url":"https://api.github.com/repos/lucasallan/lotus/issues{/number}","pulls_url":"https://api.github.com/repos/lucasallan/lotus/pulls{/number}","milestones_url":"https://api.github.com/repos/lucasallan/lotus/milestones{/number}","notifications_url":"https://api.github.com/repos/lucasallan/lotus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucasallan/lotus/labels{/name}","releases_url":"https://api.github.com/repos/lucasallan/lotus/releases{/id}","created_at":"2015-10-05T01:44:11Z","updated_at":"2015-10-05T01:44:12Z","pushed_at":"2015-10-05T01:46:23Z","git_url":"git://github.com/lucasallan/lotus.git","ssh_url":"git@github.com:lucasallan/lotus.git","clone_url":"https://github.com/lucasallan/lotus.git","svn_url":"https://github.com/lucasallan/lotus","homepage":"http://lotusrb.org","size":3306,"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":"lotus:master","ref":"master","sha":"ff7002eab9caa8430358059db51b1ebeb8d8b48e","user":{"login":"lotus","id":3210273,"avatar_url":"https://avatars.githubusercontent.com/u/3210273?v=3","gravatar_id":"","url":"https://api.github.com/users/lotus","html_url":"https://github.com/lotus","followers_url":"https://api.github.com/users/lotus/followers","following_url":"https://api.github.com/users/lotus/following{/other_user}","gists_url":"https://api.github.com/users/lotus/gists{/gist_id}","starred_url":"https://api.github.com/users/lotus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lotus/subscriptions","organizations_url":"https://api.github.com/users/lotus/orgs","repos_url":"https://api.github.com/users/lotus/repos","events_url":"https://api.github.com/users/lotus/events{/privacy}","received_events_url":"https://api.github.com/users/lotus/received_events","type":"Organization","site_admin":false},"repo":{"id":12004006,"name":"lotus","full_name":"lotus/lotus","owner":{"login":"lotus","id":3210273,"avatar_url":"https://avatars.githubusercontent.com/u/3210273?v=3","gravatar_id":"","url":"https://api.github.com/users/lotus","html_url":"https://github.com/lotus","followers_url":"https://api.github.com/users/lotus/followers","following_url":"https://api.github.com/users/lotus/following{/other_user}","gists_url":"https://api.github.com/users/lotus/gists{/gist_id}","starred_url":"https://api.github.com/users/lotus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lotus/subscriptions","organizations_url":"https://api.github.com/users/lotus/orgs","repos_url":"https://api.github.com/users/lotus/repos","events_url":"https://api.github.com/users/lotus/events{/privacy}","received_events_url":"https://api.github.com/users/lotus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lotus/lotus","description":"A complete web framework for Ruby","fork":false,"url":"https://api.github.com/repos/lotus/lotus","forks_url":"https://api.github.com/repos/lotus/lotus/forks","keys_url":"https://api.github.com/repos/lotus/lotus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lotus/lotus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lotus/lotus/teams","hooks_url":"https://api.github.com/repos/lotus/lotus/hooks","issue_events_url":"https://api.github.com/repos/lotus/lotus/issues/events{/number}","events_url":"https://api.github.com/repos/lotus/lotus/events","assignees_url":"https://api.github.com/repos/lotus/lotus/assignees{/user}","branches_url":"https://api.github.com/repos/lotus/lotus/branches{/branch}","tags_url":"https://api.github.com/repos/lotus/lotus/tags","blobs_url":"https://api.github.com/repos/lotus/lotus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lotus/lotus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lotus/lotus/git/refs{/sha}","trees_url":"https://api.github.com/repos/lotus/lotus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lotus/lotus/statuses/{sha}","languages_url":"https://api.github.com/repos/lotus/lotus/languages","stargazers_url":"https://api.github.com/repos/lotus/lotus/stargazers","contributors_url":"https://api.github.com/repos/lotus/lotus/contributors","subscribers_url":"https://api.github.com/repos/lotus/lotus/subscribers","subscription_url":"https://api.github.com/repos/lotus/lotus/subscription","commits_url":"https://api.github.com/repos/lotus/lotus/commits{/sha}","git_commits_url":"https://api.github.com/repos/lotus/lotus/git/commits{/sha}","comments_url":"https://api.github.com/repos/lotus/lotus/comments{/number}","issue_comment_url":"https://api.github.com/repos/lotus/lotus/issues/comments{/number}","contents_url":"https://api.github.com/repos/lotus/lotus/contents/{+path}","compare_url":"https://api.github.com/repos/lotus/lotus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lotus/lotus/merges","archive_url":"https://api.github.com/repos/lotus/lotus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lotus/lotus/downloads","issues_url":"https://api.github.com/repos/lotus/lotus/issues{/number}","pulls_url":"https://api.github.com/repos/lotus/lotus/pulls{/number}","milestones_url":"https://api.github.com/repos/lotus/lotus/milestones{/number}","notifications_url":"https://api.github.com/repos/lotus/lotus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lotus/lotus/labels{/name}","releases_url":"https://api.github.com/repos/lotus/lotus/releases{/id}","created_at":"2013-08-09T15:24:44Z","updated_at":"2015-10-04T16:42:35Z","pushed_at":"2015-10-04T23:14:51Z","git_url":"git://github.com/lotus/lotus.git","ssh_url":"git@github.com:lotus/lotus.git","clone_url":"https://github.com/lotus/lotus.git","svn_url":"https://github.com/lotus/lotus","homepage":"http://lotusrb.org","size":3306,"stargazers_count":2168,"watchers_count":2168,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":209,"mirror_url":null,"open_issues_count":16,"forks":209,"open_issues":16,"watchers":2168,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lotus/lotus/pulls/355"},"html":{"href":"https://github.com/lotus/lotus/pull/355"},"issue":{"href":"https://api.github.com/repos/lotus/lotus/issues/355"},"comments":{"href":"https://api.github.com/repos/lotus/lotus/issues/355/comments"},"review_comments":{"href":"https://api.github.com/repos/lotus/lotus/pulls/355/comments"},"review_comment":{"href":"https://api.github.com/repos/lotus/lotus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lotus/lotus/pulls/355/commits"},"statuses":{"href":"https://api.github.com/repos/lotus/lotus/statuses/dfbc0c4cc29474f3f86bdb44206829bd2f170d61"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}