[BUGFIX beta] Ensure that each branch is bundled before building.

This resolves an issue that occurs when the `Gemfile.lock` differs
between branches.
Merge pull request #3887 from rjackson/update_ember-dev

[BUGFIX beta] Ensure that each branch is bundled before building.