Permalink
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
InCommonTAP-Examples/Sources/SIS/bin/spring
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
17 lines (14 sloc)
507 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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' | |
lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read) | |
spring = lockfile.specs.detect { |spec| spec.name == "spring" } | |
if spring | |
Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path | |
gem 'spring', spring.version | |
require 'spring/binstub' | |
end | |
end |