You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
If you put that in
build.gradle
and 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.
The text was updated successfully, but these errors were encountered: