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 Nokogiri 1.14.0 #436

Open
boris-petrov opened this issue Jan 16, 2023 · 1 comment
Open

Cannot install Nokogiri 1.14.0 #436

boris-petrov opened this issue Jan 16, 2023 · 1 comment

Comments

@boris-petrov
Copy link

plugins {
	id 'com.github.jruby-gradle.base' version '2.0.2'
}

repositories {
	mavenCentral()
	ruby.gems()
}

dependencies {
	gems 'rubygems:nokogiri:1.14.0'
}

If you put that in build.gradle and run gradle jrubyPrepare, it will fail:

exception thrown for request to /rubygems/nokogiri/1.14.0/ivy.xml
com.github.jrubygradle.api.gems.GemVersionException: 'isorelax' does not look like a GEM version requirement

And a big stack-trace. Using Gradle 7.6, Java 19.0.1 on Linux.

Downgrading to 1.13.0 fixes the issue.

Originally reported here.

@boris-petrov
Copy link
Author

Just an update on this. Version 1.15.3 installs fine (I haven't checked the versions between). I'm not sure if there was something wrong with the bundled 1.14.0 version. I'll leave the issue open so someone can check and see if the problem was in the gem or in jruby-gradle-plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant