1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #44223 from heliocola/patch-1

Improve upgrade instructions for Bootsnap [ci-skip]
This commit is contained in:
Jonathan Hefner 2022-01-22 10:43:57 -06:00 committed by GitHub
commit 65e4e4e9ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -934,8 +934,14 @@ For more information on changes made to Rails 5.2 please see the [release notes]
### Bootsnap
Rails 5.2 adds bootsnap gem in the [newly generated app's Gemfile](https://github.com/rails/rails/pull/29313).
The `app:update` command sets it up in `boot.rb`. If you want to use it, then add it in the Gemfile,
otherwise change the `boot.rb` to not use bootsnap.
The `app:update` command sets it up in `boot.rb`. If you want to use it, then add it in the Gemfile:
```ruby
# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', require: false
```
Otherwise change the `boot.rb` to not use bootsnap.
### Expiry in signed or encrypted cookie is now embedded in the cookies values