jruby can't connect to rubygems from bundler

Mike Biang's Avatar

Mike Biang

29 Jun, 2018 02:18 PM

Recently, I started receiving a warning that bundle isn't able to connect to RubyGems. I'm using jRuby engine, and ruby version 2.2.2.

This is occurring when I attempt to deploy the app to Heroku. Heroku appears to be using the Openjdk-8 JVM. This is the error message is receive when attempting to run bundler: "Could not fetch specs from https://rubygems.org/"

I've also attached a log of Heroku build output.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • build.log 628 Bytes

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac