Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJonne Haß <me@jhass.eu>2020-07-10 15:03:07 +0300
committerJonne Haß <me@jhass.eu>2020-09-04 22:52:24 +0300
commitce82ba3dde7178b6e707d83bc6246fe033a328c9 (patch)
tree8e94ca676575e76010c6de92f049b80ae2e3ba00 /bin
parent2acdc8e095b219ef007d0a432520b0707e0fad4a (diff)
Drop spring
it does more harm than good at this point closes #8133
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cucumber5
-rwxr-xr-xbin/rails5
-rwxr-xr-xbin/rake5
-rwxr-xr-xbin/rspec5
-rwxr-xr-xbin/spring16
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')
diff --git a/bin/rails b/bin/rails
index 5badb2fde..073966023 100755
--- a/bin/rails
+++ b/bin/rails
@@ -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'
diff --git a/bin/rake b/bin/rake
index d87d5f578..17240489f 100755
--- a/bin/rake
+++ b/bin/rake
@@ -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
diff --git a/bin/rspec b/bin/rspec
index 6e6709219..d72fadf39 100755
--- a/bin/rspec
+++ b/bin/rspec
@@ -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