Skip to content

Commit 8df7200

Browse files
committed
Merge pull request #335 from ccutrer/binstub_subdependency
update binstub to find spring as a subdependency
2 parents 8f81e5e + 5790c8b commit 8df7200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/spring/client/binstub.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Binstub < Command
3636
require "rubygems"
3737
require "bundler"
3838
39-
if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ spring \((.*?)\)$.*?^$/m)
39+
if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m)
4040
ENV["GEM_PATH"] = ([Bundler.bundle_path.to_s] + Gem.path).join(File::PATH_SEPARATOR)
4141
ENV["GEM_HOME"] = ""
4242
Gem.paths = ENV

0 commit comments

Comments
 (0)