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.
If you put that in
build.gradleand rungradle jrubyPrepare, it will fail: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.