From b711a8d4a1baefd9af0961e9be38bffb688f37a3 Mon Sep 17 00:00:00 2001
From: Dennis Schubert <mail@dennis-schubert.de>
Date: Sun, 6 Nov 2016 19:36:50 +0100
Subject: [PATCH] Update binstubs

---
 bin/rails | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/bin/rails b/bin/rails
index 0af1c3bafd..5badb2fde0 100755
--- a/bin/rails
+++ b/bin/rails
@@ -4,8 +4,6 @@ begin
 rescue LoadError => e
   raise unless e.message.include?('spring')
 end
-# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
-
-APP_PATH = File.expand_path('../../config/application',  __FILE__)
-require File.expand_path('../../config/boot',  __FILE__)
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../config/boot'
 require 'rails/commands'
-- 
GitLab