3 # This file loads spring without using Bundler, in order to be fast
4 # It gets overwritten when you run the `spring binstub` command
6 unless defined?(Spring
)
10 if match
= Bundler
.default_lockfile
.read
.match(/^GEM$.*?^ spring \((.*?)\)$.*?^$/m
)
11 ENV["GEM_PATH"] = ([Bundler
.bundle_path
.to_s
] + Gem
.path
).join(File
::PATH_SEPARATOR)
15 gem
"spring", match
[1]
16 require "spring/binstub"