Open ayqazi opened 7 years ago
@raelik did some digging and found what looks like a missing else
statement.
There is probably a bug lying somewhere around in rubygems-servlets, we might need @mkristian's help
I am currently more offline then online being in Ladakh/India - will attend to this bug on rubygems-servlets.
FYI I applied the suggested patch with: https://github.com/torquebox/mavengem/commit/60a5fd39e09c50c9bc2364a8d9524f52f0c30bda
note that the rubygems-tools did move to torquebox/mavengem and once this is green on travis I am going to release it which allows a new release of rubygem-servlets. might need help to verify the patch on gradle.
Me too, I'd like to have a solution for this bug. I have to download from Nexus with credentials, which is not possible :-(
I need it for AscidoctorJ for revealjs backend in a Gradle environment.
I need it for AscidoctorJ for revealjs backend in a Gradle environment.
@apalopta FYI The 2.0-alpha.4 release of the Asciidoctor Gradle plugin will have support directly for Reveal.js.
I'm looking forward to it :-)
@apalopta @ayqazi would either of you be able to clarify whether this issue still exists?
I haven't used JRuby for years, sorry.
Once #365 is accepted, we are going to have to deal with this.. It will require:
ruby.gems
so that credentials are exposed.All of the above rely on the trust that the remote site also implements the same REST API as rubygems.org.
@ysb33r in https://github.com/jruby-gradle/jruby-gradle-plugin/issues/302#issuecomment-418465174 says @apalopta is using Nexus and Nexus just offers quick/Marshal.4.8 and api/v1/dependencies endpoints !
@mkristian :scream_cat: We'll have to do a 2nd set of functionality by the looks of it.
If a Rubygems repository has basic auth information in it (i.e. https://yourusername:password@example.com ) then the built-in gem proxy fails to be able to download anything from it.
Example stacktrace at this gist
Easy way to reproduce: