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

"gem install bundler" times out instead of installing normally #4801

Closed
zebralight opened this Issue Oct 1, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@zebralight

zebralight commented Oct 1, 2017

Environment

Provide at least:

  • JRuby version (jruby -v) and command line (flags, JRUBY_OPTS, etc)
  • Operating system and platform (e.g. uname -a)
    JRuby version 9.1.5.0 and 9.1.13.0
    Linux 4.4.0-43-Microsoft

Other relevant info you may wish to add:

  • Installed or activated gems
  • Application/framework version (e.g. Rails, Sinatra)
  • Environment variables
    trying to install bundler

Expected Behavior

  • Describe your expectation of how JRuby should behave, perhaps by showing how CRuby/MRI behaves.
  • Provide an executable Ruby script or a link to an example repository.
    I'm expecting executing the command 'gem install bundler' while setting my current active ruby version via chruby to jruby v. 9.1.5.0 or v. 9.1.13.0 would result in the bundler gem being installed the way they install on my non jruby ruby versions.

Actual Behavior

  • Describe or show the actual behavior.
  • Provide text or screen capture showing the behavior.

I get the following error message after over ten minutes of waiting:

ERROR: Could not find a valid gem 'bundler' (>=0), here is why:
Unable to download data from https://rubygems.org/ - timed out (https://api.rubygems.org/specs.4.8.gz)

I had tried to run gem update --system but that results in a time out message as well. I'm currently on gem version 2.6.13.
Any help would be much appreciated.

@headius

This comment has been minimized.

Show comment
Hide comment
@headius

headius Oct 4, 2017

Member

So there's a couple things that immediately come to mind:

  • RubyGems.org may have simply had some down time. It appears to be working ok for me locally (macos) with JRuby master.
  • SSL draining entropy, especially on VMs
  • Some local env issue routing the connection incorrectly.

Are you still having this problem?

Member

headius commented Oct 4, 2017

So there's a couple things that immediately come to mind:

  • RubyGems.org may have simply had some down time. It appears to be working ok for me locally (macos) with JRuby master.
  • SSL draining entropy, especially on VMs
  • Some local env issue routing the connection incorrectly.

Are you still having this problem?

@headius

This comment has been minimized.

Show comment
Hide comment
@headius

headius Oct 30, 2017

Member

No follow-up for potentially transient issue, please reopen if you're still having trouble.

Member

headius commented Oct 30, 2017

No follow-up for potentially transient issue, please reopen if you're still having trouble.

@headius headius closed this Oct 30, 2017

@headius headius added this to the Invalid or Duplicate milestone Oct 30, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment