Sha256: b106b36fa1f5a403719b412014451e171ebc81fd9822a246e2e2cf9c262223d6
Contents?: true
Size: 443 Bytes
Versions: 6
Compression:
Stored size: 443 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 "spring", match[1] require "spring/binstub" end end
Version data entries
6 entries across 6 versions & 2 rubygems