I recently installed jRuby via RVM and got a weird error:
I tried installing jRuby via brew, and this worked, but I got the same error when installing a gem, so it looked like a Rubygems issue. On a hunch I figured it would be the https entries in my gem sources:
I removed them all and replaced them temporarily with one non-SSL “http://rubygems.org/” entry and I was then able to install jruby-openssl. Once that was installed I deleted the plain old http rubygems.org URL and added back in my SSL URLs. I can now install ruby gems with no error.
Thanks, was bashing my head against this on EngineYard trying to setup a new JRuby deployment.
Removing the SSL requirement from the gems file solved it.
Thanks a lot!
Thanks!!