Replies: 2 comments
-
|
I'm not an expert on the Gradle plugin so I'll have to research this a bit. In the Maven world, specifying the gem dependency just fetches it; you must still install or unpack it somewhere to call it. @ysb33r @donv Maybe you know the answer to this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
You still need to run the jrubyPrepare task to unpack the GEMs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a jruby gradle project, running with jruby-complete.
build.gradle.kts
plugins { kotlin("jvm") version "2.0.0" id("com.github.jruby-gradle.base") } //... dependencies { testImplementation(kotlin("test")) implementation("org.jruby:jruby-complete:9.4.8.0") gems("rubygems:ruby-units:4.0.3") } //...If I try to load a gem using the jruby-gradle plugin, and then explicitly requiring it in my scriptlet, I get a
LoadErrorfailure due to not being able to find the gem.main.kt
I can't find any documentation stating what I'm doing is incorrect, it all appears correct, but I don't get any gems in my
build/libsfolder like I would expect. How are you expected to load gems like this?example project.zip
Beta Was this translation helpful? Give feedback.
All reactions