gradle-compass
gradle-compass copied to clipboard
Install Compass fails with rubygems ffi version > 1.9.10
The rubygems ffi artifact was updated on 2016-07-05. None of the versions since then(1.9.11, 1.9.12, 1.9.13) work with gradle-compass 2.0.6 while doing a clean build.
Here's the error I see when doing gradle clean compassCompile
for any of the recent updated versions:
Building native extensions. This could take a while...
ERROR: Error installing /root/.gradle/caches/modules-2/files-2.1/rubygems/ffi/1.9.13/3cbb2db4b73bcf1ea3b2a911c7482092ff375df5/ffi-1.9.13.gem:
ERROR: Failed to build gem native extension.
java -jar /root/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.17/dddc7eaf89c4cd2eb88b8c2e696f149f3eb58b8/jruby-complete-1.7.17.jar extconf.rb
/bin/sh: java: command not found
If I do gradle compassCompile
after that without the clean, the build passes but things aren't all properly compiled.
To get around this issue I forced the 1.9.10 version of ffi for my build.