Last active
December 14, 2015 04:19
-
-
Save keikun17/5027688 to your computer and use it in GitHub Desktop.
jruby 1.6.8 + gem 2.0.0 problem with 'gem install'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ jruby -v | |
jruby 1.6.8 (ruby-1.8.7-p357) (2012-09-18 1772b40) (Java HotSpot(TM) 64-Bit Server VM 1.7.0_02) [linux-amd64-java] | |
$ jruby -S gem --version | |
2.0.0 | |
$ jruby -S gem install jruby-openssl | |
JRuby limited openssl loaded. http://jruby.org/openssl | |
gem install jruby-openssl for full support. | |
ERROR: Loading command: install (LoadError) | |
OpenSSL::PKey requires the jruby-openssl gem | |
ERROR: While executing gem ... (NoMethodError) | |
undefined method `invoke_with_build_args' for nil:NilClass |
Just got bitten by this ... let me know if you find a fix !
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Those who got here looking for a fix, I just downgraded rubygems back to 1.8.25 by downloading http://production.cf.rubygems.org/rubygems/rubygems-1.8.25.tgz
extract that tar then run
jruby -S setup.rb