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

Can't seem to be able to run the correct rubocop version #41

Closed
rpbaltazar opened this issue May 6, 2021 · 1 comment
Closed

Can't seem to be able to run the correct rubocop version #41

rpbaltazar opened this issue May 6, 2021 · 1 comment

Comments

@rpbaltazar
Copy link

I'm maintaining ros-apartment and i'm trying to get review dog to run rubocop on it.
Seems like it's always picking up the latest version of rubocop even if i specify the version in the action configuration

Am i missing something?

@mgrachev
Copy link
Member

@rpbaltazar Hi 👋 Thank you for your feedback and sorry for the long response.

As I can see in your logs, rubocop v0.93.1 was installed, but after that rubocop extensions were installed which installed the latest version of rubocop:

  Successfully installed parallel-1.20.1
  Successfully installed ast-2.4.2
  Successfully installed parser-3.0.1.1
  Successfully installed rainbow-3.0.0
  Successfully installed regexp_parser-2.1.1
  Successfully installed rubocop-ast-1.5.0
  Successfully installed ruby-progressbar-1.11.0
  Successfully installed unicode-display_width-1.7.0
=> Successfully installed rubocop-0.93.1
  9 gems installed
  Successfully installed concurrent-ruby-1.1.8
  Successfully installed i18n-1.8.10
  Successfully installed tzinfo-2.0.4
  Successfully installed zeitwerk-2.4.2
  Successfully installed activesupport-6.1.3.2
  Successfully installed rack-2.2.3
  Successfully installed rubocop-1.14.0
  Successfully installed rubocop-rails-2.10.1
  8 gems installed
  Successfully installed rubocop-performance-1.11.3
  1 gem installed
  Successfully installed rubocop-rspec-2.3.0
  1 gem installed
  Successfully installed rubocop-i18n-3.0.0
  1 gem installed
  Successfully installed rubocop-rake-0.5.1
  1 gem installed

To avoid this please set the version of rubocop extensions or nullify them:

with:
  rubocop_extensions: ""

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

No branches or pull requests

2 participants