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:
commit
65e4e4e9ac
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue