-
-
Notifications
You must be signed in to change notification settings - Fork 939
Closed
Milestone
Description
Environment Information
Provide at least:
- JRuby version (
jruby -v) and command line (flags, JRUBY_OPTS, etc) - 9.4.12.0 - Operating system and platform - Arch Linux
plugins {
id 'org.ysb33r.jruby.base' version '2.0.0'
id 'org.ysb33r.jruby.resolver' version '2.0.0'
}
import org.ysb33r.gradle.jruby.api.base.tasks.JRubyExec
import org.ysb33r.gradle.jruby.api.base.tasks.JRubyPrepare
jruby.jrubyVersion = '9.4.12.0'
repositories {
mavenCentral()
ruby.gems()
}
gemConfigurations {
register('rubocop', JRubyPrepare, JRubyExec, 'rubocop')
}
configurations {
rubocop
}
dependencies {
rubocop 'rubygems:rubocop:1.74.0'
}
def inputFiles = fileTree('.').include('**/*.rb').exclude('build').files.toList()
tasks.named('rubocop').configure {
inputs.files(inputFiles + ['.rubocop.yml'])
outputs.upToDateWhen { true }
script {
name = 'rubocop'
args(*inputFiles)
}
}Running gradle rubocop (Gradle 8.13, Java 23) on Linux blows up:
Building native extensions. This could take a while...
ERROR: Error installing /home/boris/.gradle/caches/modules-2/files-2.1/rubygems/prism/1.4.0/e272fe856b7a2bb4cbb20b35b10704e9fe3fd2e8/prism-1.4.0.gem:
ERROR: Failed to build gem native extension.
Some discussion could be found in a similar issue from before.
Metadata
Metadata
Assignees
Labels
No labels