Drop guard/spring

No developer left using this...
This commit is contained in:
Henne Vogelsang 2022-02-10 17:34:34 +01:00
parent 28caa143e8
commit 5b698f9a4a
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
7 changed files with 1 additions and 169 deletions

View file

@ -1,5 +1,4 @@
#!/usr/bin/env ruby
load File.expand_path('spring', __dir__)
require_relative '../config/boot'
require 'rake'
Rake.application.run

View file

@ -1,14 +0,0 @@
#!/usr/bin/env ruby
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