Closed Naokimi closed 2 years ago
problem persists even after installing a lower version of io-event
gem
➜ gem install io-event
ERROR: Error installing io-event:
The last version of io-event (>= 0) to support your Ruby & RubyGems was 0.4.0. Try installing it with `gem install io-event -v 0.4.0`
io-event requires Ruby version >= 3.0. The current ruby version is 2.7.2.137.
➜ gem install io-event -v 0.4.0
Fetching io-event-0.4.0.gem
Building native extensions. This could take a while...
Successfully installed io-event-0.4.0
Parsing documentation for io-event-0.4.0
Installing ri documentation for io-event-0.4.0
Done installing documentation for io-event after 0 seconds
1 gem installed
➜ gem install solidus_dev_support
ERROR: Error installing solidus_dev_support:
There are no versions of io-event (~> 1.0.0) compatible with your Ruby & RubyGems. Maybe try installing an older version of the gem you're looking for?
io-event requires Ruby version >= 3.0. The current ruby version is 2.7.2.137.
found out that it's a dependency of github_changelog_generator
➜ gem install --explain github_changelog_generator
Gems to install:
minitest-5.15.0
concurrent-ruby-1.1.9
tzinfo-2.0.4
i18n-1.8.11
activesupport-7.0.1
fiber-local-1.0.0
console-1.14.0
io-event-1.0.2
timers-4.3.3
async-2.0.0
async-io-1.32.2
async-pool-0.3.9
protocol-http-0.22.5
protocol-http1-0.14.2
protocol-hpack-1.4.2
protocol-http2-0.14.2
async-http-0.56.5
ruby2_keywords-0.0.5
multipart-post-2.1.1
faraday-rack-1.0.0
faraday-patron-1.0.0
faraday-net_http_persistent-1.2.0
faraday-net_http-1.0.1
faraday-httpclient-1.0.1
faraday-excon-1.1.0
faraday-em_synchrony-1.0.0
faraday-em_http-1.0.0
faraday-1.7.1
async-http-faraday-0.11.0
faraday-http-cache-2.2.0
multi_json-1.15.0
public_suffix-4.0.6
addressable-2.8.0
sawyer-0.8.2
octokit-4.21.0
rainbow-3.1.1
rake-13.0.6
github_changelog_generator-1.16.4
will try if installing a lower version solves the problem
[SOLVED]
The final issue was with github_changelog_generator
's depency async. Since the 25th of December 2021 the version 2.0.0 has a runtime dependency on io-event
~> 1.0.0.
Running gem install async -v 1.30.1
solved the issue and let me install solidus_dev_support
without further problems.
[SOLVED] The final issue was with
github_changelog_generator
's depency async. Since the 25th of December 2021 the version 2.0.0 has a runtime dependency onio-event
~> 1.0.0.Running
gem install async -v 1.30.1
solved the issue and let me installsolidus_dev_support
without further problems.
thanks
Ran
gem install solidus_dev_support
as per https://guides.solidus.io/developers/extensions/writing-extensions.html and got an error when trying to installio-event
, saying it needs a Ruby version >= 3.Is this expected behaviour (in which case it would be good to update the docs) or an issue of the installer?
Here is the whole log:
Environment: Windows WSL 2 (Ubuntu) Ruby installed with rbenv
EDIT: see https://github.com/solidusio/solidus_dev_support/issues/181#issuecomment-1019749529 for solution