opened
rosenfeld
username_0
It boils down to this according to my experiments:

```
irb -r net/http -r openssl
irb(main):001:0> Net::HTTP.get 'bundler.rubygems.org', '/api/v1/dependencies?gems=railties,actionmailer,sprockets-rails,sprockets,puma,foreman,jruby-openssl,rsolr,activesupport,rake,rspec,guard-rspec,nokogiri,tidy_ffi,fakefs,pry-byebug'
=> ""
```

The response is not empty as you can confirm by either downloading the URL or running this on MRI or on 1.9 mode.
Bundler won't use dependency API in 2.0 mode for JRuby 1.7.18
issue
created
Who828
username_1
I can confirm that it's working on master (JRuby 9000) with 2.x mode. 
guess this will be fixed once its out.
comment
created
headius
username_2
One liner that reproduces this on 1.7:

```
jruby -rnet/http -ropenssl -e "p Net::HTTP.get 'bundler.rubygems.org', '/api/v1/dependencies?gems=railties,actionmailer,sprockets-rails,sprockets,puma,foreman,jruby-openssl,rsolr,activesupport,rake,rspec,guard-rspec,nokogiri,tidy_ffi,fakefs,pry-byebug'"
```
comment
created
mkristian
username_3
I needed to add ```--2.0```:

```
jruby --2.0 -rnet/http -ropenssl -e "p Net::HTTP.get 'bundler.rubygems.org', '/api/v1/dependencies?gems=railties,actionmailer,sprockets-rails,sprockets,puma,foreman,jruby-openssl,rsolr,activesupport,rake,rspec,guard-rspec,nokogiri,tidy_ffi,fakefs,pry-byebug'"
```
comment
created
headius
username_2
Oh, right, you need that too :-)
comment
created
perlun
username_4
Does this work properly on older JRuby 1.7 versions?
comment
created
rosenfeld
username_0
This is the only one I tried. I wanted to test one request in my app without the GVL in MRI, that is how I found out this issue...
comment
created
rosenfeld
username_0
This issue also prevents rbenv from installing JRuby if you have `compat.version=2.0` in your ~/.jrubyrc, which is my case:

https://github.com/sstephenson/ruby-build/issues/718
comment
created
hathawad
username_5
This works properly in JRuby 1.7.13
comment
created
rosenfeld
username_0
Weird... I just checked that one-liner with 1.7.19 and it worked... Maybe the guys in bundler.rubygems.org changed something that affected this somehow... Not sure how to proceed from here... Should we close this ticket and re-open if it happens again? I suspect there's still some hidden bug but now it's no longer reproducible...
comment
created
digitalextremist
username_6
This is occurring with `1.7.21`
comment
created
kares
username_7
closing since this was a JRuby 1.7.x issue ... seems fine by now (on JRuby 1.7.25+ using Bundler 1.13)
comment
closed
kares
username_7
issue