Gemfile
Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem dotenv-rails
should appear before webdrivers
. Open
Open
gem "dotenv-rails", "2.2.1"
- Read upRead up
- Exclude checks
Gems should be alphabetically sorted within groups.
Example:
# bad
gem 'rubocop'
gem 'rspec'
# good
gem 'rspec'
gem 'rubocop'
# good
gem 'rubocop'
gem 'rspec'
# good only if TreatCommentsAsGroupSeparators is true
# For code quality
gem 'rubocop'
# For tests
gem 'rspec'