{"action":"opened","issue":{"url":"https://api.github.com/repos/jruby-gradle/jruby-gradle-plugin/issues/333","repository_url":"https://api.github.com/repos/jruby-gradle/jruby-gradle-plugin","labels_url":"https://api.github.com/repos/jruby-gradle/jruby-gradle-plugin/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/jruby-gradle/jruby-gradle-plugin/issues/333/comments","events_url":"https://api.github.com/repos/jruby-gradle/jruby-gradle-plugin/issues/333/events","html_url":"https://github.com/jruby-gradle/jruby-gradle-plugin/issues/333","id":354474581,"node_id":"MDU6SXNzdWUzNTQ0NzQ1ODE=","number":333,"title":"Issue using the ascii_binder gem with jruby-gradle-plugin.","user":{"login":"wdschei","id":7366196,"node_id":"MDQ6VXNlcjczNjYxOTY=","avatar_url":"https://avatars2.githubusercontent.com/u/7366196?v=4","gravatar_id":"","url":"https://api.github.com/users/wdschei","html_url":"https://github.com/wdschei","followers_url":"https://api.github.com/users/wdschei/followers","following_url":"https://api.github.com/users/wdschei/following{/other_user}","gists_url":"https://api.github.com/users/wdschei/gists{/gist_id}","starred_url":"https://api.github.com/users/wdschei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdschei/subscriptions","organizations_url":"https://api.github.com/users/wdschei/orgs","repos_url":"https://api.github.com/users/wdschei/repos","events_url":"https://api.github.com/users/wdschei/events{/privacy}","received_events_url":"https://api.github.com/users/wdschei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-27T20:54:25Z","updated_at":"2018-08-27T20:54:25Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I have created a [Short, Self Contained, Correct (Compilable) Example](http://sscce.org/) or [Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve) project for working through the issues of using the `ascii_binder` gem with the `jruby-gradle-plugin` which can be found at https://github.com/wdschei/gradleAsciiBinder/.\r\n\r\nBasically I'm getting the following when I try to use the `ascii_binder` gem with the `jruby-gradle-plugin`:\r\n```\r\n> Task :asciiBinder FAILED\r\nGem::MissingSpecError: Gem::MissingSpecError\r\n                        to_specs at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/dependency.rb:308\r\n  block in activate_dependencies at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/specification.rb:1439\r\n                            each at org/jruby/RubyArray.java:1733\r\n           activate_dependencies at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/specification.rb:1428\r\n                        activate at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/specification.rb:1410\r\n                    try_activate at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems.rb:220\r\n                         require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:125\r\n                          <main> at /.../gradleAsciiBinder/src/docs/asciidoc/asciiBinder.rb:2\r\n```\r\n\r\nI'm not even actually using it at this point. I'm just trying to load the version number.\r\n\r\nThe root cause seems to have something to do with the `yajl-ruby` dependency of `ascii_binder` which results in:\r\n```\r\ncurrent directory: $HOME/Projects/gradleAsciiBinder/build/tmp/jrubyExec/gems/yajl-ruby-1.3.1/ext/yajl\r\n/usr/lib/jvm/jdk1.8.0_152/jre/bin/java -cp :$HOME/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/9.1.7.0/d6b98ab4b7d9ad305e3331eca5528bd03960cf76/jruby-complete-9.1.7.0.jar org.jruby.Main -r ./siteconf20180827-20852-klp86k.rb extconf.rb\r\ncreating Makefile\r\n\r\ncurrent directory: $HOME/Projects/gradleAsciiBinder/build/tmp/jrubyExec/gems/yajl-ruby-1.3.1/ext/yajl\r\nmake \"DESTDIR=\" clean\r\nMakefile:225: *** multiple target patterns.  Stop.\r\n\r\ncurrent directory: $HOME/Projects/gradleAsciiBinder/build/tmp/jrubyExec/gems/yajl-ruby-1.3.1/ext/yajl\r\nmake \"DESTDIR=\"\r\nMakefile:225: *** multiple target patterns.  Stop.\r\n\r\nmake failed, exit code 2\r\n```\r\n\r\nAm I missing something stupid here or is this a bug of some kind?\r\n\r\nI'm not really a Ruby person, but I'm familiar with Gradle and several JVM languages, so any help is greatly appreciated."}}
{"actor":{"display_login":"wdschei"}}