Skip to content

Commit 4140d67

Browse files
committed
Remove bundler deprecation by using the right method
We want the environment before bundler was activated, so we can call with_original_env.
1 parent 3e7e996 commit 4140d67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/support/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def spring_client_config
111111
def run(command, opts = {})
112112
start_time = Time.now
113113

114-
Bundler.with_clean_env do
114+
Bundler.with_original_env do
115115
Process.spawn(
116116
env.merge(opts[:env] || {}),
117117
command.to_s,

test/support/application_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def system(command)
3131
end
3232

3333
def generate
34-
Bundler.with_clean_env { generate_files }
34+
Bundler.with_original_env { generate_files }
3535
install_spring
3636
generate_scaffold
3737
end

0 commit comments

Comments
 (0)