We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 156dcbf commit 2197441Copy full SHA for 2197441
lib/spring/test/application.rb
@@ -31,12 +31,13 @@ def log_file
31
32
def env
33
@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
+ "GEM_HOME" => gem_home.to_s,
+ "GEM_PATH" => gem_home.to_s,
+ "HOME" => user_home.to_s,
+ "RAILS_ENV" => nil,
+ "RACK_ENV" => nil,
+ "SPRING_LOG" => log_file.path,
40
+ "BUNDLE_GEMFILE" => gemfile.to_s
41
}
42
end
43
@@ -57,7 +58,7 @@ def user_home
57
58
59
60
def spring
- gem_home.join "bin/spring"
61
+ "bundle exec spring"
62
63
64
def rails_version
0 commit comments