aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails.rb')
-rw-r--r--railties/lib/rails.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/railties/lib/rails.rb b/railties/lib/rails.rb
index 6d8bf28943..a12ca42c30 100644
--- a/railties/lib/rails.rb
+++ b/railties/lib/rails.rb
@@ -1,4 +1,4 @@
-require "rails/ruby_version_check"
+require_relative "rails/ruby_version_check"
require "pathname"
@@ -9,8 +9,8 @@ require "active_support/core_ext/module/delegation"
require "active_support/core_ext/array/extract_options"
require "active_support/core_ext/object/blank"
-require "rails/application"
-require "rails/version"
+require_relative "rails/application"
+require_relative "rails/version"
require "active_support/railtie"
require "action_dispatch/railtie"
@@ -48,7 +48,7 @@ module Rails
def backtrace_cleaner
@backtrace_cleaner ||= begin
# Relies on Active Support, so we have to lazy load to postpone definition until Active Support has been loaded
- require "rails/backtrace_cleaner"
+ require_relative "rails/backtrace_cleaner"
Rails::BacktraceCleaner.new
end
end