diff options
author | Jonne Haß <me@jhass.eu> | 2020-07-10 15:03:07 +0300 |
---|---|---|
committer | Jonne Haß <me@jhass.eu> | 2020-09-04 22:52:24 +0300 |
commit | ce82ba3dde7178b6e707d83bc6246fe033a328c9 (patch) | |
tree | 8e94ca676575e76010c6de92f049b80ae2e3ba00 /bin | |
parent | 2acdc8e095b219ef007d0a432520b0707e0fad4a (diff) |
Drop spring
it does more harm than good at this point
closes #8133
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cucumber | 5 | ||||
-rwxr-xr-x | bin/rails | 5 | ||||
-rwxr-xr-x | bin/rake | 5 | ||||
-rwxr-xr-x | bin/rspec | 5 | ||||
-rwxr-xr-x | bin/spring | 16 |
5 files changed, 0 insertions, 36 deletions
diff --git a/bin/cucumber b/bin/cucumber index f135a7564..df07be133 100755 --- a/bin/cucumber +++ b/bin/cucumber @@ -1,8 +1,3 @@ #!/usr/bin/env ruby -begin - load File.expand_path('../spring', __FILE__) -rescue LoadError => e - raise unless e.message.include?('spring') -end require 'bundler/setup' load Gem.bin_path('cucumber', 'cucumber') @@ -1,9 +1,4 @@ #!/usr/bin/env ruby -begin - load File.expand_path('../spring', __FILE__) -rescue LoadError => e - raise unless e.message.include?('spring') -end APP_PATH = File.expand_path('../config/application', __dir__) require_relative '../config/boot' require 'rails/commands' @@ -1,9 +1,4 @@ #!/usr/bin/env ruby -begin - load File.expand_path('../spring', __FILE__) -rescue LoadError => e - raise unless e.message.include?('spring') -end require_relative '../config/boot' require 'rake' Rake.application.run @@ -1,8 +1,3 @@ #!/usr/bin/env ruby -begin - load File.expand_path('../spring', __FILE__) -rescue LoadError => e - raise unless e.message.include?('spring') -end require 'bundler/setup' load Gem.bin_path('rspec-core', 'rspec') diff --git a/bin/spring b/bin/spring deleted file mode 100755 index 9bc076b9e..000000000 --- a/bin/spring +++ /dev/null @@ -1,16 +0,0 @@ -#!/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) - if spring = lockfile.specs.detect { |spec| spec.name == "spring" } - Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path - gem 'spring', spring.version - require 'spring/binstub' - end -end |