diff options
author | AnnaErshova <anna.ershova@gmail.com> | 2015-10-26 15:19:07 -0400 |
---|---|---|
committer | AnnaErshova <anna.ershova@gmail.com> | 2015-10-26 15:22:30 -0400 |
commit | 6eada87b61ad19b3e5e2e293d8511d7849b40edd (patch) | |
tree | 00608ed76047db573fab10bc296282982f31b07e /guides | |
parent | 04bc52f7dc4c264fd1825d565e058047c58bb694 (diff) | |
download | rails-6eada87b61ad19b3e5e2e293d8511d7849b40edd.tar.gz rails-6eada87b61ad19b3e5e2e293d8511d7849b40edd.tar.bz2 rails-6eada87b61ad19b3e5e2e293d8511d7849b40edd.zip |
Edits default `config/boot.rb` to match what's generated by Rails 4.2.
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/initialization.md | 3 |
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 |