From e28f6b73ab7f2e59605ebd800e921a6146fc49ae Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 10 Dec 2022 11:54:08 -0500 Subject: Updated to Rails 7.0.3 --- bin/rails | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'bin/rails') diff --git a/bin/rails b/bin/rails index 73a6f70..056c65f 100755 --- a/bin/rails +++ b/bin/rails @@ -2,13 +2,13 @@ # This command will automatically be run when you run "rails" with Rails gems # installed from the root of your application. -ENGINE_ROOT = File.expand_path('../..', __FILE__) -ENGINE_PATH = File.expand_path('../../lib/pokeviewer/engine', __FILE__) -APP_PATH = File.expand_path('../../test/dummy/config/application', __FILE__) +ENGINE_ROOT = File.expand_path("..", __dir__) +ENGINE_PATH = File.expand_path("../lib/pokeviewer/engine", __dir__) +APP_PATH = File.expand_path("../test/dummy/config/application", __dir__) # Set up gems listed in the Gemfile. -ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) -require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) +ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__) +require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"]) -require 'rails/all' -require 'rails/engine/commands' +require "rails/all" +require "rails/engine/commands" -- cgit 1.4.1