Skip to content

Commit 291d069

Browse files
committed
Fix broken CI
1 parent 156dcbf commit 291d069

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

lib/spring/test/application.rb

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@ def log_file
3131

3232
def env
3333
@env ||= {
34-
"GEM_HOME" => gem_home.to_s,
35-
"GEM_PATH" => gem_home.to_s,
36-
"HOME" => user_home.to_s,
37-
"RAILS_ENV" => nil,
38-
"RACK_ENV" => nil,
39-
"SPRING_LOG" => log_file.path
34+
"GEM_HOME" => gem_home.to_s,
35+
"GEM_PATH" => gem_home.to_s,
36+
"HOME" => user_home.to_s,
37+
"RAILS_ENV" => nil,
38+
"RACK_ENV" => nil,
39+
"SPRING_LOG" => log_file.path,
40+
"BUNDLE_GEMFILE" => gemfile.to_s
4041
}
4142
end
4243

@@ -57,7 +58,7 @@ def user_home
5758
end
5859

5960
def spring
60-
gem_home.join "bin/spring"
61+
"bundle exec spring"
6162
end
6263

6364
def rails_version

0 commit comments

Comments
 (0)