aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2015-10-26 17:41:53 -0200
committerRafael França <rafaelmfranca@gmail.com>2015-10-26 17:41:53 -0200
commit2794de05d6b7d5c2a8dd00dc69b585b3e45c4bc1 (patch)
tree00608ed76047db573fab10bc296282982f31b07e /guides
parent04bc52f7dc4c264fd1825d565e058047c58bb694 (diff)
parent6eada87b61ad19b3e5e2e293d8511d7849b40edd (diff)
downloadrails-2794de05d6b7d5c2a8dd00dc69b585b3e45c4bc1.tar.gz
rails-2794de05d6b7d5c2a8dd00dc69b585b3e45c4bc1.tar.bz2
rails-2794de05d6b7d5c2a8dd00dc69b585b3e45c4bc1.zip
Merge pull request #22080 from AnnaErshova/edits-config-code-text
Edits default `config/boot.rb` to match what's generated by Rails 4.2.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/initialization.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/guides/source/initialization.md b/guides/source/initialization.md
index 43083ebb86..ebe1cb206a 100644
--- a/guides/source/initialization.md
+++ b/guides/source/initialization.md
@@ -86,10 +86,9 @@ The `APP_PATH` constant will be used later in `rails/commands`. The `config/boot
`config/boot.rb` contains:
```ruby
-# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
+require 'bundler/setup' # Set up gems listed in the Gemfile.
```
In a standard Rails application, there's a `Gemfile` which declares all