Skip to content

Instantly share code, notes, and snippets.

@keikun17
Last active December 14, 2015 04:19
Show Gist options
  • Save keikun17/5027688 to your computer and use it in GitHub Desktop.
Save keikun17/5027688 to your computer and use it in GitHub Desktop.
jruby 1.6.8 + gem 2.0.0 problem with 'gem install'
$ 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
@pschambacher
Copy link

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