Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFI is broken on Windows 10 x64 (and possibly others). Easy fix. #53

Open
nedtwigg opened this issue Jan 23, 2016 · 2 comments
Open

FFI is broken on Windows 10 x64 (and possibly others). Easy fix. #53

nedtwigg opened this issue Jan 23, 2016 · 2 comments

Comments

@nedtwigg
Copy link

I've got a really simple build.gradle.

plugins {
    id "com.github.robfletcher.compass" version "2.0.6"
}

repositories {
    mavenCentral()
}

compass {
    cssDir = file("build/css")
    sassDir = file("sass")
}

When I try gradlew compassCompile, here's what I get:

(a bunch of downloads)
Download http://rubygems-proxy.torquebox.org/releases/rubygems/ffi/1.9.10/ffi-1.9.10.gem
ERROR:  Loading command: install (LoadError)
        Could not load FFI Provider: (NotImplementedError) FFI not available: null
 See http://jira.codehaus.org/browse/JRUBY-4583
ERROR:  While executing gem ... (NoMethodError)
    undefined method `invoke_with_build_args' for nil:NilClass

By looking at #37, I was able to fix this by prefixing my buildscript with this snippet:

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath "com.github.jruby-gradle:jruby-gradle-plugin:0.1.17"
    }
}

It would be cool if the plugin worked out of the box. Also, jruby-gradle-plugin:0.1.17 is from June 2015. Since then they've made it to 1.2.0 in December 2015. Might be worth updating to the latest version.

@burovmarley
Copy link

burovmarley commented Sep 7, 2016

Hi, is there any chance that somebody could fix this issue. When we changed jruby to the old version compass tasks are not failing but compass does not see any changes in scss files in runtime

@master-elodin
Copy link

I am also only able to get the gradle-compass plugin to work using jruby-gradle-plugin version 0.1.17, no higher versions. I tried 1.3.+, 1.2.+, and 1.+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants