Skip to content

Commit b3c99a0

Browse files
committed
missing files added
1 parent f075ff9 commit b3c99a0

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ spec/fixtures
2424
/cookbooks
2525
/cookbooks/
2626
/tmp/librarian/
27+
.tmp
28+
node_modules
29+
log

bin/spring

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)