From 7eb0ca67536fb99f333c9b0b4d2df35c09b6ede2 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Wed, 10 Jun 2020 15:15:37 +0200 Subject: [PATCH] Some spring related changes?! --- bin/rails | 5 ----- bin/rake | 5 ----- bin/spring | 1 - 3 files changed, 11 deletions(-) diff --git a/bin/rails b/bin/rails index 3504c3f..a31728a 100755 --- a/bin/rails +++ b/bin/rails @@ -1,11 +1,6 @@ #!/usr/bin/env ruby # frozen_string_literal: true -begin - load File.expand_path('spring', __dir__) -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 1fe6cf0..c199955 100755 --- a/bin/rake +++ b/bin/rake @@ -1,11 +1,6 @@ #!/usr/bin/env ruby # frozen_string_literal: true -begin - load File.expand_path('spring', __dir__) -rescue LoadError => e - raise unless e.message.include?('spring') -end require_relative '../config/boot' require 'rake' Rake.application.run diff --git a/bin/spring b/bin/spring index 1c6eabf..d89ee49 100755 --- a/bin/spring +++ b/bin/spring @@ -1,5 +1,4 @@ #!/usr/bin/env ruby -# frozen_string_literal: true # This file loads Spring without using Bundler, in order to be fast. # It gets overwritten when you run the `spring binstub` command.