Sha256: 7a3c587ca4e65b26ad8181a2060c7d3c81585fef10697e8a744f22e2bca36f45
Contents?: true
Size: 461 Bytes
Versions: 320
Compression:
Stored size: 461 Bytes
Contents
#!/usr/bin/env ruby # This file loads spring without using Bundler, in order to be fast. # It gets overwritten when you run the `spring binstub` command. unless defined?(Spring) require "rubygems" require "bundler" if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m) Gem.paths = { "GEM_PATH" => [Bundler.bundle_path.to_s, *Gem.path].uniq } gem "spring", match[1] require "spring/binstub" end end
Version data entries
320 entries across 319 versions & 39 rubygems