Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve upgrade instructions for Bootsnap #44223

Merged
merged 1 commit into from Jan 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 8 additions & 2 deletions guides/source/upgrading_ruby_on_rails.md
Expand Up @@ -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

Expand Down