I am using RVM and Homebrew on OS X Mavericks. JRuby 1.7.6 installs, but I cannot install any gems. I believe that JRuby comes with a semi-complete version of openssl. I have tried using http for gem sources, and even downloaded the gem for a local install. I see this same error regardless of gem locality or gem source.
$ jruby -S gem install bundler --trace
ERROR: Loading command: install (LoadError)
load error: openssl -- java.lang.IncompatibleClassChangeError: Implementing class
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
Others Rubies (1.8.7, 1.9.3, 2.0.0) are working without issue in RVM.