Skip to content

Commit eb80f1f

Browse files
authored
Merge pull request #546 from mattbrictson/honor-bundle-app-config
Use Bundler.with_original_env so that BUNDLER_APP_CONFIG is honored
2 parents 0c711ff + b91fb94 commit eb80f1f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
* Fix binstubs not being replaced when their quoting style was changed (#534)
44
* Preserve comments right after the shebang line which might include magic comments such as `frozen_string_literal: true'
5+
* Fix binstub failures when Bundler's `BUNDLE_APP_CONFIG` environment variable is present (#545)
56

67
## 2.0.2
78

lib/spring/application_manager.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def stop
9292
def start_child(preload = false)
9393
@child, child_socket = UNIXSocket.pair
9494

95-
Bundler.with_clean_env do
95+
Bundler.with_original_env do
9696
@pid = Process.spawn(
9797
{
9898
"RAILS_ENV" => app_env,

0 commit comments

Comments
 (0)