Unfortunately, the :github option breaks Gemfile compatibility with older versions of Bundler, for example those running on Heroku. Since Bundler 1.0 promised full compatibility across all 1.0.x releases, the :github option has been moved to version 1.1. This reverts commit 8b2649e.
Phase 1 of rubygems/bundler reintegration
The mkdir_p was originally added for JRuby (see #602). As of JRuby 1.6, some paths will actually raise an error, so we need to rescue and ignore those.
When Paths were created with relative paths they would not be considered equal to a Path for the same location but as an absolute path.
since deployment scripts will always pass the flag, anyone who gets a stale lock error without passing in --deployment is likely to be a developer who turned on deployment mode by mistake.