rubygems / bundler

Manage your Ruby application's gem dependencies
https://bundler.io
MIT License
4.89k stars 2k forks source link

bundle install hangs when jruby 1.6.5.1 is used for rails 3.2 project on windows 7 #2127

Closed mbhandek closed 11 years ago

mbhandek commented 11 years ago

Its strange but if I've HTTPS URL in "source" in Gemfile, jruby 1.6.5.1 just hangs. If i use HTTP URL in "source" in Gemfile, jruby 1.6.5.1 continues but a weird message -

jruby -v jruby 1.6.5.1 (ruby-1.9.2-p136) (2011-12-27 1bf37c2) (Java HotSpot(TM) Client VM 1.6.0_20) [Windows 7-x86-java]

jruby -S gem install bundler jruby-openssl Fetching: bundler-1.2.1.gem (100%) Successfully installed bundler-1.2.1 Fetching: bouncy-castle-java-1.5.0146.1.gem (100%) Fetching: jruby-openssl-0.7.7.gem (100%) Successfully installed bouncy-castle-java-1.5.0146.1 Successfully installed jruby-openssl-0.7.7 3 gems installed

if HTTPS URL is used...

D:\dev\mbhandek_brpm_l2\brpm\develop\Portal>jruby -S bundle install Fetching gem metadata from https://rubygems.org/.

if HTTP URL is used...

jruby --1.9 -S bundle install Fetching gem metadata from http://rubygems.org/. Error Bundler::HTTPError during request to dependency API Fetching full source index from http://rubygems.org/

indirect commented 11 years ago

as far as I know, https sources do not yet work under JRuby. there's a fix in master, but it hasn't shipped as part of an official release yet.

mbhandek commented 11 years ago

FYI It works fine on jruby 1.6.7. What I would like to know is the error I'm getting while using http URL, does it mean any specific inconsistency exists with jruby 1.6.5.1 and rails 3.2.

indirect commented 11 years ago

If it works fine on jruby 1.6.7, then is sounds like they fixed a bug, and I would suggest upgrading. I don't know of any issues with jruby 1.6.5, but if it doesn't work, that sounds like an issue. :)

mbhandek commented 11 years ago

The issue is 1.6.6+ doesn't work on solaris so I'm back porting the code base to 1.6.5.1 which is last known to work on it. :) Sent from personal BlackBerry® on Airtel


From: André Arko notifications@github.com Date: Sat, 20 Oct 2012 12:16:32 -0500 To: carlhuda/bundlerbundler@noreply.github.com ReplyTo: carlhuda/bundler reply@reply.github.com Cc: Bhandekar, ManishManish_Bhandekar@bmc.com Subject: Re: [bundler] bundle install hangs when jruby 1.6.5.1 is used for rails 3.2 project on windows 7 (#2127)

If it works fine on jruby 1.6.7, then is sounds like they fixed a bug, and I would suggest upgrading. I don't know of any issues with jruby 1.6.5, but if it doesn't work, that sounds like an issue. :)

— Reply to this email directly or view it on GitHubhttps://github.com/carlhuda/bundler/issues/2127#issuecomment-9633706.