Sha256: d9d5d8f1faa89fb7a85a6f0f564b75db83555e2777ff10025a45599f46871055
Contents?: true
Size: 535 Bytes
Versions: 30
Compression:
Stored size: 535 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' re = /^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m if (match = Bundler.default_lockfile.read.match(re)) ENV['GEM_PATH'] = ([Bundler.bundle_path.to_s] + Gem.path).join(File::PATH_SEPARATOR) ENV['GEM_HOME'] = '' Gem.paths = ENV gem 'spring', match[1] require 'spring/binstub' end end
Version data entries
30 entries across 30 versions & 1 rubygems