{"action":"created","comment":{"url":"https://api.github.com/repos/cbeer/engine_cart/pulls/comments/41524708","id":41524708,"diff_hunk":"@@ -52,7 +52,12 @@ def add_gemfile_include\n   # the below comes from engine_cart, a gem used to test this Rails engine gem in the context of a Rails app\n   file = File.expand_path(\"Gemfile\", ENV['ENGINE_CART_DESTINATION'] || ENV['RAILS_ROOT'] || File.expand_path(\"../spec/internal\", __FILE__))\n   if File.exist?(file)\n-    eval_gemfile file\n+    begin\n+      eval_gemfile file\n+    rescue Bundler::GemfileError => e\n+       Bundler.ui.warn '[EngineCart] Skipping Rails application dependencies:'\n+       Bundler.ui.warn e.message\n+    end","path":"lib/generators/engine_cart/install_generator.rb","position":10,"original_position":10,"commit_id":"68bdd3d0315062e6d0420faa33111deb3fa03360","original_commit_id":"68bdd3d0315062e6d0420faa33111deb3fa03360","user":{"login":"jrochkind","id":149304,"avatar_url":"https://avatars.githubusercontent.com/u/149304?v=3","gravatar_id":"","url":"https://api.github.com/users/jrochkind","html_url":"https://github.com/jrochkind","followers_url":"https://api.github.com/users/jrochkind/followers","following_url":"https://api.github.com/users/jrochkind/following{/other_user}","gists_url":"https://api.github.com/users/jrochkind/gists{/gist_id}","starred_url":"https://api.github.com/users/jrochkind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrochkind/subscriptions","organizations_url":"https://api.github.com/users/jrochkind/orgs","repos_url":"https://api.github.com/users/jrochkind/repos","events_url":"https://api.github.com/users/jrochkind/events{/privacy}","received_events_url":"https://api.github.com/users/jrochkind/received_events","type":"User","site_admin":false},"body":"Are you sure you really get a Bundler::Gemfile error at this point in code in the problem cases we're seeing? I'd think bundler will evaluate the whole Gemfile first, and the error will be raised only when bundler tries to resolve dependencies. But I'd have to reproduce a problem case and see the stacktrace to be sure. The problem case is hard for me to repro because I've never fully understood what's going on, I just know it happens, and then I frustratedly delete things until it works again. @ndushay, can you repro a problem case to see if this really solves it? ","created_at":"2015-10-08T15:03:09Z","updated_at":"2015-10-08T15:03:09Z","html_url":"https://github.com/cbeer/engine_cart/pull/31#discussion_r41524708","pull_request_url":"https://api.github.com/repos/cbeer/engine_cart/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/cbeer/engine_cart/pulls/comments/41524708"},"html":{"href":"https://github.com/cbeer/engine_cart/pull/31#discussion_r41524708"},"pull_request":{"href":"https://api.github.com/repos/cbeer/engine_cart/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/cbeer/engine_cart/pulls/31","id":47163389,"html_url":"https://github.com/cbeer/engine_cart/pull/31","diff_url":"https://github.com/cbeer/engine_cart/pull/31.diff","patch_url":"https://github.com/cbeer/engine_cart/pull/31.patch","issue_url":"https://api.github.com/repos/cbeer/engine_cart/issues/31","number":31,"state":"open","locked":false,"title":"Skip Rails application dependencies when faced with gem version conflicts","user":{"login":"cbeer","id":111218,"avatar_url":"https://avatars.githubusercontent.com/u/111218?v=3","gravatar_id":"","url":"https://api.github.com/users/cbeer","html_url":"https://github.com/cbeer","followers_url":"https://api.github.com/users/cbeer/followers","following_url":"https://api.github.com/users/cbeer/following{/other_user}","gists_url":"https://api.github.com/users/cbeer/gists{/gist_id}","starred_url":"https://api.github.com/users/cbeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbeer/subscriptions","organizations_url":"https://api.github.com/users/cbeer/orgs","repos_url":"https://api.github.com/users/cbeer/repos","events_url":"https://api.github.com/users/cbeer/events{/privacy}","received_events_url":"https://api.github.com/users/cbeer/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-08T14:54:57Z","updated_at":"2015-10-08T15:03:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d3eebaa486d41ba3b7b50f8819b5dd787bcaa10","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cbeer/engine_cart/pulls/31/commits","review_comments_url":"https://api.github.com/repos/cbeer/engine_cart/pulls/31/comments","review_comment_url":"https://api.github.com/repos/cbeer/engine_cart/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cbeer/engine_cart/issues/31/comments","statuses_url":"https://api.github.com/repos/cbeer/engine_cart/statuses/68bdd3d0315062e6d0420faa33111deb3fa03360","head":{"label":"cbeer:skip-app-deps","ref":"skip-app-deps","sha":"68bdd3d0315062e6d0420faa33111deb3fa03360","user":{"login":"cbeer","id":111218,"avatar_url":"https://avatars.githubusercontent.com/u/111218?v=3","gravatar_id":"","url":"https://api.github.com/users/cbeer","html_url":"https://github.com/cbeer","followers_url":"https://api.github.com/users/cbeer/followers","following_url":"https://api.github.com/users/cbeer/following{/other_user}","gists_url":"https://api.github.com/users/cbeer/gists{/gist_id}","starred_url":"https://api.github.com/users/cbeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbeer/subscriptions","organizations_url":"https://api.github.com/users/cbeer/orgs","repos_url":"https://api.github.com/users/cbeer/repos","events_url":"https://api.github.com/users/cbeer/events{/privacy}","received_events_url":"https://api.github.com/users/cbeer/received_events","type":"User","site_admin":false},"repo":{"id":13276514,"name":"engine_cart","full_name":"cbeer/engine_cart","owner":{"login":"cbeer","id":111218,"avatar_url":"https://avatars.githubusercontent.com/u/111218?v=3","gravatar_id":"","url":"https://api.github.com/users/cbeer","html_url":"https://github.com/cbeer","followers_url":"https://api.github.com/users/cbeer/followers","following_url":"https://api.github.com/users/cbeer/following{/other_user}","gists_url":"https://api.github.com/users/cbeer/gists{/gist_id}","starred_url":"https://api.github.com/users/cbeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbeer/subscriptions","organizations_url":"https://api.github.com/users/cbeer/orgs","repos_url":"https://api.github.com/users/cbeer/repos","events_url":"https://api.github.com/users/cbeer/events{/privacy}","received_events_url":"https://api.github.com/users/cbeer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbeer/engine_cart","description":"Rake tasks to generate test applications for Rails Engines","fork":false,"url":"https://api.github.com/repos/cbeer/engine_cart","forks_url":"https://api.github.com/repos/cbeer/engine_cart/forks","keys_url":"https://api.github.com/repos/cbeer/engine_cart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbeer/engine_cart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbeer/engine_cart/teams","hooks_url":"https://api.github.com/repos/cbeer/engine_cart/hooks","issue_events_url":"https://api.github.com/repos/cbeer/engine_cart/issues/events{/number}","events_url":"https://api.github.com/repos/cbeer/engine_cart/events","assignees_url":"https://api.github.com/repos/cbeer/engine_cart/assignees{/user}","branches_url":"https://api.github.com/repos/cbeer/engine_cart/branches{/branch}","tags_url":"https://api.github.com/repos/cbeer/engine_cart/tags","blobs_url":"https://api.github.com/repos/cbeer/engine_cart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbeer/engine_cart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbeer/engine_cart/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbeer/engine_cart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbeer/engine_cart/statuses/{sha}","languages_url":"https://api.github.com/repos/cbeer/engine_cart/languages","stargazers_url":"https://api.github.com/repos/cbeer/engine_cart/stargazers","contributors_url":"https://api.github.com/repos/cbeer/engine_cart/contributors","subscribers_url":"https://api.github.com/repos/cbeer/engine_cart/subscribers","subscription_url":"https://api.github.com/repos/cbeer/engine_cart/subscription","commits_url":"https://api.github.com/repos/cbeer/engine_cart/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbeer/engine_cart/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbeer/engine_cart/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbeer/engine_cart/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbeer/engine_cart/contents/{+path}","compare_url":"https://api.github.com/repos/cbeer/engine_cart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbeer/engine_cart/merges","archive_url":"https://api.github.com/repos/cbeer/engine_cart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbeer/engine_cart/downloads","issues_url":"https://api.github.com/repos/cbeer/engine_cart/issues{/number}","pulls_url":"https://api.github.com/repos/cbeer/engine_cart/pulls{/number}","milestones_url":"https://api.github.com/repos/cbeer/engine_cart/milestones{/number}","notifications_url":"https://api.github.com/repos/cbeer/engine_cart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbeer/engine_cart/labels{/name}","releases_url":"https://api.github.com/repos/cbeer/engine_cart/releases{/id}","created_at":"2013-10-02T16:36:23Z","updated_at":"2015-08-19T20:57:35Z","pushed_at":"2015-10-08T14:54:57Z","git_url":"git://github.com/cbeer/engine_cart.git","ssh_url":"git@github.com:cbeer/engine_cart.git","clone_url":"https://github.com/cbeer/engine_cart.git","svn_url":"https://github.com/cbeer/engine_cart","homepage":"","size":501,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":8,"forks":10,"open_issues":8,"watchers":5,"default_branch":"master"}},"base":{"label":"cbeer:master","ref":"master","sha":"e4c0e65c9a8c52a488c4e61b4717b64b574ab285","user":{"login":"cbeer","id":111218,"avatar_url":"https://avatars.githubusercontent.com/u/111218?v=3","gravatar_id":"","url":"https://api.github.com/users/cbeer","html_url":"https://github.com/cbeer","followers_url":"https://api.github.com/users/cbeer/followers","following_url":"https://api.github.com/users/cbeer/following{/other_user}","gists_url":"https://api.github.com/users/cbeer/gists{/gist_id}","starred_url":"https://api.github.com/users/cbeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbeer/subscriptions","organizations_url":"https://api.github.com/users/cbeer/orgs","repos_url":"https://api.github.com/users/cbeer/repos","events_url":"https://api.github.com/users/cbeer/events{/privacy}","received_events_url":"https://api.github.com/users/cbeer/received_events","type":"User","site_admin":false},"repo":{"id":13276514,"name":"engine_cart","full_name":"cbeer/engine_cart","owner":{"login":"cbeer","id":111218,"avatar_url":"https://avatars.githubusercontent.com/u/111218?v=3","gravatar_id":"","url":"https://api.github.com/users/cbeer","html_url":"https://github.com/cbeer","followers_url":"https://api.github.com/users/cbeer/followers","following_url":"https://api.github.com/users/cbeer/following{/other_user}","gists_url":"https://api.github.com/users/cbeer/gists{/gist_id}","starred_url":"https://api.github.com/users/cbeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbeer/subscriptions","organizations_url":"https://api.github.com/users/cbeer/orgs","repos_url":"https://api.github.com/users/cbeer/repos","events_url":"https://api.github.com/users/cbeer/events{/privacy}","received_events_url":"https://api.github.com/users/cbeer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbeer/engine_cart","description":"Rake tasks to generate test applications for Rails Engines","fork":false,"url":"https://api.github.com/repos/cbeer/engine_cart","forks_url":"https://api.github.com/repos/cbeer/engine_cart/forks","keys_url":"https://api.github.com/repos/cbeer/engine_cart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbeer/engine_cart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbeer/engine_cart/teams","hooks_url":"https://api.github.com/repos/cbeer/engine_cart/hooks","issue_events_url":"https://api.github.com/repos/cbeer/engine_cart/issues/events{/number}","events_url":"https://api.github.com/repos/cbeer/engine_cart/events","assignees_url":"https://api.github.com/repos/cbeer/engine_cart/assignees{/user}","branches_url":"https://api.github.com/repos/cbeer/engine_cart/branches{/branch}","tags_url":"https://api.github.com/repos/cbeer/engine_cart/tags","blobs_url":"https://api.github.com/repos/cbeer/engine_cart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbeer/engine_cart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbeer/engine_cart/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbeer/engine_cart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbeer/engine_cart/statuses/{sha}","languages_url":"https://api.github.com/repos/cbeer/engine_cart/languages","stargazers_url":"https://api.github.com/repos/cbeer/engine_cart/stargazers","contributors_url":"https://api.github.com/repos/cbeer/engine_cart/contributors","subscribers_url":"https://api.github.com/repos/cbeer/engine_cart/subscribers","subscription_url":"https://api.github.com/repos/cbeer/engine_cart/subscription","commits_url":"https://api.github.com/repos/cbeer/engine_cart/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbeer/engine_cart/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbeer/engine_cart/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbeer/engine_cart/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbeer/engine_cart/contents/{+path}","compare_url":"https://api.github.com/repos/cbeer/engine_cart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbeer/engine_cart/merges","archive_url":"https://api.github.com/repos/cbeer/engine_cart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbeer/engine_cart/downloads","issues_url":"https://api.github.com/repos/cbeer/engine_cart/issues{/number}","pulls_url":"https://api.github.com/repos/cbeer/engine_cart/pulls{/number}","milestones_url":"https://api.github.com/repos/cbeer/engine_cart/milestones{/number}","notifications_url":"https://api.github.com/repos/cbeer/engine_cart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbeer/engine_cart/labels{/name}","releases_url":"https://api.github.com/repos/cbeer/engine_cart/releases{/id}","created_at":"2013-10-02T16:36:23Z","updated_at":"2015-08-19T20:57:35Z","pushed_at":"2015-10-08T14:54:57Z","git_url":"git://github.com/cbeer/engine_cart.git","ssh_url":"git@github.com:cbeer/engine_cart.git","clone_url":"https://github.com/cbeer/engine_cart.git","svn_url":"https://github.com/cbeer/engine_cart","homepage":"","size":501,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":8,"forks":10,"open_issues":8,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cbeer/engine_cart/pulls/31"},"html":{"href":"https://github.com/cbeer/engine_cart/pull/31"},"issue":{"href":"https://api.github.com/repos/cbeer/engine_cart/issues/31"},"comments":{"href":"https://api.github.com/repos/cbeer/engine_cart/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/cbeer/engine_cart/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/cbeer/engine_cart/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cbeer/engine_cart/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/cbeer/engine_cart/statuses/68bdd3d0315062e6d0420faa33111deb3fa03360"}}}}