Draft
Conversation
etagwerker
reviewed
Mar 20, 2026
| Add this line to your application's Gemfile: | ||
|
|
||
| > These scripts are still early days and may not work in every environment or app. | ||
| > **Note:** If you add this gem to a group, make sure it is the `test` env group. |
Member
There was a problem hiding this comment.
I don't quite agree with this.
I've been using next_rails without a group in the Gemfile because it makes it easier to call NextRails.next? anywhere in the codebase.
| > better fit your environment. | ||
| ```ruby | ||
| gem 'next_rails' | ||
| ``` |
Member
There was a problem hiding this comment.
I highly recommend adding it to your Gemfile like this. ☝🏻
| # Find minimum compatible ruby version with Rails 7.0.0 | ||
| bundle_report ruby_check --rails-version=7.0.0 | ||
| # Edit your Gemfile to conditionally set gem versions using `next?` | ||
| vim Gemfile |
Member
There was a problem hiding this comment.
Maybe mention that the init command will add a definition of next? to the top of the Gemfile?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Motivation and Context
I think our README.md looks patched, and needed a bit of ❤️
How Has This Been Tested?
I rendered the README.md in my editor and it looked good.
I will abide by the code of conduct