Skip to content

Conversation

@larskanis
Copy link

The condition depends on the ruby version which is used to build the roo gem and not the ruby version which is used to install the gem.

Luckily the roo-3.0.0 was released with ruby-3.4+, so that these conditional dependencies are registered on rubygems.org. But they also apply when installing on older rubies.

Having a condition on the building ruby version could lead to missing dependencies if roo was built with ruby-3.3. There is no possibility in gemspecs to add dependencies which are dependent on the installing ruby version. So it's best to simply remove the condition.

The condition depends on the ruby version which is used to build the roo gem and not the ruby version which is used to install the gem.

Luckily the roo-3.0.0 was released with ruby-3.4+, so that these conditional dependencies are registered on rubygems.org. But they also apply when installing on older rubies.

Having a condition on the building ruby version could lead to missing dependencies if roo was built with ruby-3.3. There is no possibility in gemspecs to add dependencies which are dependent on the installing ruby version. So it's best to simply remove the condition.
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

Successfully merging this pull request may close these issues.

1 participant