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

Support asdf when determining TargetRubyVersion #11208

Closed
andyw8 opened this issue Nov 27, 2022 · 2 comments
Closed

Support asdf when determining TargetRubyVersion #11208

andyw8 opened this issue Nov 27, 2022 · 2 comments

Comments

@andyw8
Copy link
Contributor

andyw8 commented Nov 27, 2022

https://docs.rubocop.org/rubocop/configuration.html

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.

With asdf becoming increasingly popular, it would be good to include .tool-versions when choosing a suitable Ruby version.

@koic
Copy link
Member

koic commented Nov 28, 2022

RuboCop already supports .tool-versions and I've updated the doc.

@andyw8
Copy link
Contributor Author

andyw8 commented Nov 29, 2022

Ah thank you, I see it was added in #9319.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants