jruby-gradle/jruby-gradle-plugin

Cannot install Nokogiri 1.14.0

boris-petrov opened this issue · 1 comments

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.

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.