Sha256: 41920c19abe013f439a76253c911397cd1dc75a952e98abe9cf1cfe3f8637617
Contents?: true
Size: 530 Bytes
Versions: 3
Compression:
Stored size: 530 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true if !defined?(Spring) && [nil, "development", "test"].include?(ENV["RAILS_ENV"]) gem("bundler") require("bundler") # Load Spring without loading other gems in the Gemfile, for speed. Bundler.locked_gems&.specs&.find { |spec| spec.name == "spring" }&.tap do |spring| Gem.use_paths(Gem.dir, Bundler.bundle_path.to_s, *Gem.path) gem("spring", spring.version) require("spring/binstub") rescue Gem::LoadError # Ignore when Spring is not installed. end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
zapp-0.2.1 | examples/rails-app/bin/spring |
zapp-0.1.1 | examples/rails-app/bin/spring |
zapp-0.1.0 | examples/rails-app/bin/spring |