Skip to content

Commit e556176

Browse files
authored
Update initialization.md
The code block that contains the code in`config/boot.rb` is missing the line that requires bootsnap/setup.
1 parent 35a4946 commit e556176

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

guides/source/initialization.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ The `APP_PATH` constant will be used later in `rails/commands`. The `config/boot
5555
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
5656

5757
require "bundler/setup" # Set up gems listed in the Gemfile.
58+
require "bootsnap/setup" # Speed up boot time by caching expensive operations.
5859
```
5960

6061
In a standard Rails application, there's a `Gemfile` which declares all

0 commit comments

Comments
 (0)