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

Freezes somewhere inside Ruby on generate #25

Open
altavir opened this issue Jun 24, 2017 · 0 comments
Open

Freezes somewhere inside Ruby on generate #25

altavir opened this issue Jun 24, 2017 · 0 comments

Comments

@altavir
Copy link

altavir commented Jun 24, 2017

I've got generate task configured like this:

task generate(type: JavaExec, dependsOn: ":site:gather") {
    group 'grain'
    logging.captureStandardOutput LogLevel.INFO
    classpath sourceSets.main.runtimeClasspath
    main = mainClassName
    args["generate"]
    doFirst {
        println "Starting generate"
    }
}

When I try to run it, gradle freezes on generate task without even displaying Starting generate. VisualVM shows that execution freezes somewhere inside JRuby thread selector. When I try to force use newer version of JRuby: compile 'org.jruby:jruby:9.1.10.0', I get the error: Exception in thread "Thread-22" java.lang.NoSuchMethodError: jnr.constants.platform.OpenFlags.defined()Z. So it is probably JRuby or ruby script bug.

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

1 participant