Skip to content

Instantly share code, notes, and snippets.

@trobrock
Created September 11, 2012 22:04
Show Gist options
  • Save trobrock/3702453 to your computer and use it in GitHub Desktop.
Save trobrock/3702453 to your computer and use it in GitHub Desktop.
jruby-openssl Bundler issues
[release@thrift1 20120911215203]$ jruby -v
jruby 1.5.6 (ruby 1.8.7 patchlevel 249) (2010-12-03 9cf97c3) (OpenJDK 64-Bit Server VM 1.6.0_24) [amd64-java]
[release@thrift1 20120911215203]$ jruby -Sgem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.6
- RUBY VERSION: 1.8.7 (2010-12-03 patchlevel 249) [java]
- INSTALLATION DIRECTORY: /opt/jruby-1.5.6/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /opt/jruby-1.5.6/bin/jruby
- EXECUTABLE DIRECTORY: /opt/jruby-1.5.6/bin
- RUBYGEMS PLATFORMS:
- ruby
- universal-java-1.6
- GEM PATHS:
- /opt/jruby-1.5.6/lib/ruby/gems/1.8
- /home/release/.gem/jruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "install" => "--env-shebang"
- "update" => "--env-shebang"
- REMOTE SOURCES:
- http://rubygems.org/
[release@thrift1 20120911215203]$ jruby -Sbundle install
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
Fetching gem metadata from https://rubygems.org/.Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
/opt/jruby-1.5.6/lib/ruby/site_ruby/shared/jruby/openssl/autoloads/ssl.rb:8: OpenSSL::SSL requires the jruby-openssl gem (LoadError)
from /opt/jruby-1.5.6/lib/ruby/site_ruby/shared/jruby/openssl/autoloads/ssl.rb:124:in `use_ssl='
from /opt/jruby-1.5.6/lib/ruby/gems/1.8/gems/bundler-1.2.0/lib/bundler/vendor/net/http/persistent.rb:448:in `ssl'
from /opt/jruby-1.5.6/lib/ruby/gems/1.8/gems/bundler-1.2.0/lib/bundler/vendor/net/http/persistent.rb:216:in `connection_for'
from /opt/jruby-1.5.6/lib/ruby/gems/1.8/gems/bundler-1.2.0/lib/bundler/vendor/net/http/persistent.rb:358:in `request'
from /opt/jruby-1.5.6/lib/ruby/gems/1.8/gems/bundler-1.2.0/lib/bundler/fetcher.rb:145:in `fetch'
from /opt/jruby-1.5.6/lib/ruby/gems/1.8/gems/bundler-1.2.0/lib/bundler/fetcher.rb:173:in `fetch_dependency_remote_specs'
from /opt/jruby-1.5.6/lib/ruby/gems/1.8/gems/bundler-1.2.0/lib/bundler/fetcher.rb:132:in `fetch_remote_specs'
from /opt/jruby-1.5.6/lib/ruby/gems/1.8/gems/bundler-1.2.0/lib/bundler/fetcher.rb:70:in `specs'
... 20 levels...
from /opt/jruby-1.5.6/lib/ruby/gems/1.8/gems/bundler-1.2.0/bin/bundle:14
from /opt/jruby-1.5.6/lib/ruby/gems/1.8/gems/bundler-1.2.0/bin/bundle:19:in `load'
from /opt/jruby-1.5.6/bin/bundle:19
[release@thrift1 20120911215203]$ jruby -Sirb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> gem 'jruby-openssl'
=> true
irb(main):003:0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment