Skip to content

Commit

Permalink
[Fix rubocop#8761] Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
HeroProtagonist committed Nov 8, 2020
1 parent e8af386 commit ada7ba3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/modules/ROOT/pages/configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,11 @@ AllCops:
TargetRubyVersion: 2.5
----

Otherwise, RuboCop will then check your project for `.ruby-version` and
use the version specified by it.
Otherwise, RuboCop will then check your project for a series of files where
the version may be specified already. The files that will be looked for are
`.ruby-version`, `Gemfile.lock`, and `*.gemspec`. If Gemspec file has an
array for `required_ruby_version`, the lowest version will be used.
If none of the files are found a default version value will be used.

== Automatically Generated Configuration

Expand Down

0 comments on commit ada7ba3

Please sign in to comment.