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

Ruby 2.6 isn't really supported #721

Open
alagos opened this issue Jun 18, 2024 · 0 comments
Open

Ruby 2.6 isn't really supported #721

alagos opened this issue Jun 18, 2024 · 0 comments

Comments

@alagos
Copy link

alagos commented Jun 18, 2024

According to the gemspec it is, but in practice I'm getting:

ERROR:  Error installing solargraph:
	There are no versions of rubocop-ast (>= 1.31.1, < 2.0) compatible with your Ruby & RubyGems. Maybe try installing an older version of the gem you're looking for?
	rubocop-ast requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.

I tried installing rubocop 1.50.2 as 1.51.0 dropped the 2.6 support and that worked.
So it should be dropped ruby 2.6 support or added to the gemspec:

s.add_runtime_dependency 'rubocop', '~> 1.50.0'
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

1 participant