aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2013-08-13 10:47:34 -0700
committerSteve Klabnik <steve@steveklabnik.com>2013-08-13 10:47:34 -0700
commitc2f0ae737e845776ee8c12e23455334bf46784a1 (patch)
tree62f6a141f770f893c665bf0b320c901e85f576aa /guides/source
parent5da23a3f921f0a4a3139495d2779ab0d3bd4cb5f (diff)
parent06344b94162f713c915784ece497800f348cc41f (diff)
downloadrails-c2f0ae737e845776ee8c12e23455334bf46784a1.tar.gz
rails-c2f0ae737e845776ee8c12e23455334bf46784a1.tar.bz2
rails-c2f0ae737e845776ee8c12e23455334bf46784a1.zip
Merge pull request #11847 from AJ-Acevedo/master
Updated outdated initialization guide [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/initialization.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/initialization.md b/guides/source/initialization.md
index 26259408b4..c78eef5bf0 100644
--- a/guides/source/initialization.md
+++ b/guides/source/initialization.md
@@ -40,7 +40,7 @@ This file is as follows:
```ruby
#!/usr/bin/env ruby
APP_PATH = File.expand_path('../../config/application', __FILE__)
-require File.expand_path('../../config/boot', __FILE__)
+require_relative '../config/boot'
require 'rails/commands'
```