{"action":"created","issue":{"url":"https://api.github.com/repos/iconara/puck/issues/31","repository_url":"https://api.github.com/repos/iconara/puck","labels_url":"https://api.github.com/repos/iconara/puck/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/iconara/puck/issues/31/comments","events_url":"https://api.github.com/repos/iconara/puck/issues/31/events","html_url":"https://github.com/iconara/puck/pull/31","id":181643870,"number":31,"title":"Bundler workarounds, take 99","user":{"login":"iconara","id":73330,"avatar_url":"https://avatars.githubusercontent.com/u/73330?v=3","gravatar_id":"","url":"https://api.github.com/users/iconara","html_url":"https://github.com/iconara","followers_url":"https://api.github.com/users/iconara/followers","following_url":"https://api.github.com/users/iconara/following{/other_user}","gists_url":"https://api.github.com/users/iconara/gists{/gist_id}","starred_url":"https://api.github.com/users/iconara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iconara/subscriptions","organizations_url":"https://api.github.com/users/iconara/orgs","repos_url":"https://api.github.com/users/iconara/repos","events_url":"https://api.github.com/users/iconara/events{/privacy}","received_events_url":"https://api.github.com/users/iconara/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-07T11:17:21Z","updated_at":"2016-10-07T11:18:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/iconara/puck/pulls/31","html_url":"https://github.com/iconara/puck/pull/31","diff_url":"https://github.com/iconara/puck/pull/31.diff","patch_url":"https://github.com/iconara/puck/pull/31.patch"},"body":"Bundler keeps breaking things randomly, luckily it seems like it's just the tests that have broken recently. Getting an isolated environment to run the tests in is really, really hard.\r\n\r\nThis is a collection of fixes that seem to patch things together again:\r\n\r\n* I've thrown out Grape as a dependency of the example app, it had a little bit too big of a blast radius. The tests blew up because of `descendants_tracker` not being able to do something and I couldn't even figure out why it was even involved since it was a dependency of the example app, not Puck itself.\r\n* The example app bundle is not vendored inside of the examples app directory. Bundler kept trying to find caches and other things under the example app directory, I just don't think Bundler supports having the bundle outside of the app directory anymore, but who knows? This means that the pattern given to RSpec needs to be more restrictive, otherwise it matches things the vendored gems of the example app.\r\n* I had to remove Puck from the jar. I think that originally we excluded it, but then started including it, but I'm not sure why. Either way I got \"stack level too deep\" errors when it was included.\r\n* Setting `BUNDLE_WITHOUT` after Bundler has loaded doesn't seem to work anymore, you need to do `Bundler.settings[:without] = …`. Since Bundler is your best friend this will also rewrite the config. I solved this very inelegantly by making a backup of the config before running the dependency resolution and then putting it back again after. I can't see any way to stop Bundler from writing the config.\r\n\r\nThere might be better ways to solve these problems, but I've already wasted five hours of my life. Suggestions are welcome."},"comment":{"url":"https://api.github.com/repos/iconara/puck/issues/comments/252223096","html_url":"https://github.com/iconara/puck/pull/31#issuecomment-252223096","issue_url":"https://api.github.com/repos/iconara/puck/issues/31","id":252223096,"user":{"login":"iconara","id":73330,"avatar_url":"https://avatars.githubusercontent.com/u/73330?v=3","gravatar_id":"","url":"https://api.github.com/users/iconara","html_url":"https://github.com/iconara","followers_url":"https://api.github.com/users/iconara/followers","following_url":"https://api.github.com/users/iconara/following{/other_user}","gists_url":"https://api.github.com/users/iconara/gists{/gist_id}","starred_url":"https://api.github.com/users/iconara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iconara/subscriptions","organizations_url":"https://api.github.com/users/iconara/orgs","repos_url":"https://api.github.com/users/iconara/repos","events_url":"https://api.github.com/users/iconara/events{/privacy}","received_events_url":"https://api.github.com/users/iconara/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T11:18:25Z","updated_at":"2016-10-07T11:18:25Z","body":"If anyone can figure out why this doesn't run on Travis (except in 9K) I would also be very grateful."}}
{"actor":{"display_login":"iconara"}}