Solargraph: Having conflict issues with rubocop 1.3 and solargraph 0.39.17

Created on 12 Nov 2020  路  7Comments  路  Source: castwide/solargraph

I am recently trying to upgrade to ruby 2.7 from 2.6.

With that, I also updated a few gems, including rubocop.

But now I am getting this error when I try to bundle

Bundler could not find compatible versions for gem "rubocop":
  In Gemfile:
    rubocop (~> 1.3)

    solargraph (~> 0.39) was resolved to 0.39.17, which depends on
      rubocop (~> 0.52)

I wonder if rubocop 1.3 is incompatible with solargraph?

Is bundler messing this up?

Or this gem should do rubocop (>= 0.52) instead of rubocop (~> 0.52)?

Here is all my rubocop related gems:

  gem "guard-rubocop", "~> 1.4", require: false
  gem 'rubocop-rails', "~> 2.8", require: false
  gem "rubocop-rails_config", "~> 1.0"
  gem 'rubocop-rspec', "~> 1.38", require: false

Many thanks!

Most helpful comment

This should be fixed by #381 in an upcoming release. There are a couple of technical issues that need resolved, but it's a priority.

All 7 comments

This should be fixed by #381 in an upcoming release. There are a couple of technical issues that need resolved, but it's a priority.

Any update on this?

381 is merged into master, but the tests are failing in Travis CI. I'm looking into it.

@castwide When will the new version be released?

@numbcoder It'll be released in the next day or so. The failing tests after #381 are resolved by #394.

Released in version 0.40.0.

Thanks @castwide . Working now!

Was this page helpful?
0 / 5 - 0 ratings