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.
2 parents f350d8a + f2b1c96 commit 29f1483Copy full SHA for 29f1483
lib/spring/client/binstub.rb
@@ -34,7 +34,8 @@ class Binstub < Command
34
require 'bundler'
35
36
lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
37
- if spring = lockfile.specs.detect { |spec| spec.name == "spring" }
+ spring = lockfile.specs.detect { |spec| spec.name == "spring" }
38
+ if spring
39
Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
40
gem 'spring', spring.version
41
require 'spring/binstub'
0 commit comments