Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate the bundle path before cleaning the env
When `Gem.bin_path("bundler", "bundle")` is used inside `with_unbundled_env` it can return `nil`, thus breaking the command. By storing the path outside of the block we ensure to grab a working path instead. Also removed the unused `env` argument.
- Loading branch information