Search code examples
ruby-on-railsjrubyjrubyonrailsjruby-openssl

Gem::LoadError: can't activate jruby-openssl-0.9.5-java, already activated jruby-openssl-0.9.7-java


I am getting below error while doing bundle install --path vendor/cache:

Gem::LoadError: can't activate jruby-openssl-0.9.5-java, already activated jruby-openssl-0.9.7-java

I am using jruby 1.7.16. I tried deleting vendor, deleting Gemfile.lock but nothing is fixing this issue.

Can someone please suggest what can fix this issue.

Thanks in advance.


Solution

  • I ended up uninstalling 0.9.7 version.

    gem uninstall -i /usr/local/rvm/gems/jruby-1.7.16@global jruby-openssl