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.
1 parent f075ff9 commit b3c99a0Copy full SHA for b3c99a0
.gitignore
@@ -24,3 +24,6 @@ spec/fixtures
24
/cookbooks
25
/cookbooks/
26
/tmp/librarian/
27
+.tmp
28
+node_modules
29
+log
bin/spring
@@ -0,0 +1,15 @@
1
+#!/usr/bin/env ruby
2
+
3
+# This file loads spring without using Bundler, in order to be fast.
4
+# It gets overwritten when you run the `spring binstub` command.
5
6
+unless defined?(Spring)
7
+ require "rubygems"
8
+ require "bundler"
9
10
+ if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m)
11
+ Gem.paths = { "GEM_PATH" => [Bundler.bundle_path.to_s, *Gem.path].uniq }
12
+ gem "spring", match[1]
13
+ require "spring/binstub"
14
+ end
15
+end
0 commit comments