From c43c974287b62ee6da83c2f1fa929c954f3acf39 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Fri, 31 Dec 2021 15:37:59 +0900 Subject: [PATCH] Use require_relative --- bin/spring | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/spring b/bin/spring index 532fa78c30..65c8b0ca70 100755 --- a/bin/spring +++ b/bin/spring @@ -7,7 +7,7 @@ unless defined?(Spring) require 'rubygems' require 'bundler' - require File.join(File.dirname(__FILE__), '../lib/gemfile_helper.rb') + require_relative '../lib/gemfile_helper.rb' GemfileHelper.load_dotenv if ENV['SPRING']