gradle-compass
gradle-compass copied to clipboard
Could not find FFI Provider
Running any kind of task created by this plugin crash on my machine:
ERROR: Loading command: install (LoadError)
Could not load FFI Provider: (NotImplementedError) FFI not available: null
See https://jira.codehaus.org/browse/JRUBY-4583
ERROR: While executing gem ... (NoMethodError=
undefined method 'invoke_with_build_args' for nul:NilClass
My machine is Windows 8.1, x64. My Gradle version: 2.3.6. The gradle-compass plugin version used: 2.0.5.
I am having the exact same Issue here :( Windows 8.1. Oracle Java 8 jdk. Gradle 2.3.9.
I tried everything on this earth trying to get Gradle to compile SASS. Nothing works. So until further notice, I have skipped the thought of it. I'll go with vanilla CSS until someone somewhere know how to make Gradle compile SASS.
Same here. Until this works out of the box I will use JAWR with a SassPreProcessor.
seems to be this issue: https://github.com/jruby-gradle/jruby-gradle-plugin/issues/83
Please use latest jruby-gradle v0.1.15 then it should be fixed.
I solved it by a custom build from the 2.0.4 version together with jruby-gradle 0.1.15 and it works. my output now:
$ gradlew compassCompile
Download https://repo1.maven.org/maven2/org/jruby/jruby-complete/1.7.19/jruby-complete-1.7.19.pom
Download https://repo1.maven.org/maven2/org/jruby/jruby-artifacts/1.7.19/jruby-artifacts-1.7.19.pom
Download https://repo1.maven.org/maven2/org/jruby/jruby-parent/1.7.19/jruby-parent-1.7.19.pom
Download https://repo1.maven.org/maven2/org/jruby/jruby-complete/1.7.19/jruby-complete-1.7.19.jar
Compass is charityware. If you love it, please donate on our behalf at http://umdf.org/compass Thanks!
Successfully installed compass-1.0.3
Successfully installed sass-3.4.13
Successfully installed compass-core-1.0.3
Successfully installed compass-import-once-1.0.5
Successfully installed chunky_png-1.3.4
Successfully installed rb-fsevent-0.9.4
Successfully installed rb-inotify-0.9.5
Successfully installed multi_json-1.11.0
Successfully installed ffi-1.9.8-java
9 gems installed
write src/main/resources/static/assets/css/main.css
Please provide a new version with latest jruby-gradle. thanks you :)
As a workaround of this error, i had in jruby-gradle-plugin with the last 0.1.x version in the classpath dependencies
buildscript {
repositories {
jcenter()
maven { url "http://dl.bintray.com/robfletcher/gradle-plugins" }
}
dependencies {
classpath (
"com.github.robfletcher:compass-gradle-plugin:+",
"com.github.jruby-gradle:jruby-gradle-plugin:0.1.+"
)
}
}
Works for me on java 8.60