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 8f81e5e + 5790c8b commit 8df7200Copy full SHA for 8df7200
lib/spring/client/binstub.rb
@@ -36,7 +36,7 @@ class Binstub < Command
36
require "rubygems"
37
require "bundler"
38
39
- if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ spring \((.*?)\)$.*?^$/m)
+ if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m)
40
ENV["GEM_PATH"] = ([Bundler.bundle_path.to_s] + Gem.path).join(File::PATH_SEPARATOR)
41
ENV["GEM_HOME"] = ""
42
Gem.paths = ENV
0 commit comments