Skip to content

Instantly share code, notes, and snippets.

@LeifWarner
Created February 26, 2013 22:15
Show Gist options
  • Save LeifWarner/5042799 to your computer and use it in GitHub Desktop.
Save LeifWarner/5042799 to your computer and use it in GitHub Desktop.
Bundler on 1.6.7 requires jruby-openssl gem, these days?
Successfully installed bundler-1.3.0
1 gem installed
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
The source :rubygems is deprecated because HTTP requests are insecure.
Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not.
Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
LoadError: OpenSSL::SSL requires the jruby-openssl gem
(root) at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/site_ruby/shared/jruby/openssl/autoloads/ssl.rb:8
initialize at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/site_ruby/shared/jruby/openssl/autoloads/ssl.rb:461
initialize at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/fetcher.rb:63
remote_specs at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/source/rubygems.rb:222
collect at org/jruby/RubyArray.java:2331
remote_specs at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/source/rubygems.rb:222
fetch_specs at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/source/rubygems.rb:162
specs at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/source/rubygems.rb:66
__materialize__ at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/lazy_specification.rb:52
materialize at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/spec_set.rb:88
map! at org/jruby/RubyArray.java:2371
materialize at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/spec_set.rb:85
specs at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/definition.rb:114
resolve_remotely! at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/definition.rb:109
run at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/installer.rb:81
install at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/installer.rb:14
install at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/cli.rb:247
send at org/jruby/RubyKernel.java:2076
run at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/vendor/thor/task.rb:27
invoke_task at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/vendor/thor/invocation.rb:120
dispatch at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/vendor/thor.rb:344
start at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/vendor/thor/base.rb:434
(root) at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/bin/bundle:20
with_friendly_errors at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/lib/bundler/friendly_errors.rb:4
(root) at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/bin/bundle:20
load at org/jruby/RubyKernel.java:1058
(root) at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/gems/1.8/gems/bundler-1.3.0/bin/bundle:19
org.jruby.embed.EvalFailedException: (LoadError) OpenSSL::SSL requires the jruby-openssl gem
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:132)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1308)
@LeifWarner
Copy link
Author

This is after unzipping jruby-complete-1.6.7.zip;
gem install bundler
bundle install

If we add a "gem install jruby-openssl" before installing bundler, it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment