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 f704e2f + 223f5ea commit 7efd492Copy full SHA for 7efd492
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
Gem.paths = { "GEM_PATH" => [Bundler.bundle_path.to_s, *Gem.path].uniq }
41
gem "spring", match[1]
42
require "spring/binstub"
0 commit comments