Gemfile
Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem net_status
should appear before path_mapper
. Open
Open
gem 'net_status', git: 'https://github.com/flant/net_status.git'
- 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'