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

Cannot install RuboCop 0.58.{1,2} #5260

Closed
boris-petrov opened this issue Jul 25, 2018 · 5 comments
Closed

Cannot install RuboCop 0.58.{1,2} #5260

boris-petrov opened this issue Jul 25, 2018 · 5 comments

Comments

@boris-petrov
Copy link

JRuby version 9.2.0.0.

In this commit, RuboCop added a filter on the parser dependency version. Then they released 0.58.1. Now they've released 0.58.2 and I cannot update to either version. The error that I'm getting is:

> Could not resolve rubygems:parser:(=2.5.1.1,).
  Required by:
      project :features > rubygems:rubocop:0.58.2
   > there is no overlap for (=2.5.1.1,99999) and (=2.5.1.1,)

I'm not sure whether this is a JRuby bug or a Gradle one or what is going on but I think I won't be able to upgrade RuboCop any more at all until this is fixed. :)

Any ideas?

@mkristian
Copy link
Member

mkristian commented Jul 25, 2018 via email

@boris-petrov
Copy link
Author

You suggest I open a bug with the Gradle guys?

@mkristian
Copy link
Member

yes, with https://github.com/jruby-gradle/jruby-gradle-plugin I will pick it from there. it is just not a jruby problem what you have.

@koic
Copy link

koic commented Aug 7, 2018

There was a bug in Parser 2.5.1.1, so RuboCop does not use that version.
rubocop/rubocop#6092

s.add_runtime_dependency('parser', '>= 2.5', '!= 2.5.1.1')

https://github.com/rubocop-hq/rubocop/blob/v0.58.2/rubocop.gemspec#L39

Please run bundle update and update Parser gem.

@headius
Copy link
Member

headius commented Aug 16, 2018

Sounds like this is not our issue, so I'll close it. Let us know if there's something we need to fix in JRuby.

@headius headius closed this as completed Aug 16, 2018
@headius headius added this to the Invalid or Duplicate milestone Aug 16, 2018
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

4 participants