Project

General

Profile

« Previous | Next » 

Revision b5eca9b3

Added by Michael Moll almost 6 years ago

Fixes #23962 - Fix Style/ExpandPathArguments cop

View differences:

bin/rails
#!/usr/bin/env ruby
begin
load File.expand_path('../spring', __FILE__)
load File.expand_path('spring', __dir__)
rescue LoadError => e
raise unless e.message.include?('spring')
end
APP_PATH = File.expand_path('../../config/application', __FILE__)
APP_PATH = File.expand_path('../config/application', __dir__)
require_relative '../config/boot'
require 'rails/commands'

Also available in: Unified diff