Created
February 9, 2011 20:26
-
-
Save nicksieger/819210 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$ rake --trace update_hash_files | |
(in /Users/nicksieger/Projects/jruby/jruby.org) | |
** Invoke update_hash_files (first_time) | |
** Execute update_hash_files | |
rake aborted! | |
private method `verify_mode=' called for #<OpenSSL::SSL::SSLContext:0x17e7f88> | |
/Users/nicksieger/Projects/ruby/jruby/lib/ruby/1.8/net/https.rb:148:in `verify_mode=' | |
/Users/nicksieger/.rvm/gems/[email protected]/gems/aws-s3-0.6.2/lib/aws/s3/connection.rb:102:in `create_connection' | |
/Users/nicksieger/.rvm/gems/[email protected]/gems/aws-s3-0.6.2/lib/aws/s3/connection.rb:116:in `connect' | |
/Users/nicksieger/.rvm/gems/[email protected]/gems/aws-s3-0.6.2/lib/aws/s3/connection.rb:23:in `initialize' | |
/Users/nicksieger/.rvm/gems/[email protected]/gems/aws-s3-0.6.2/lib/aws/s3/connection.rb:6:in `connect' | |
/Users/nicksieger/.rvm/gems/[email protected]/gems/aws-s3-0.6.2/lib/aws/s3/connection.rb:202:in `establish_connection!' | |
/Users/nicksieger/Projects/jruby/jruby.org/rakelib/s3.rake:50:in `s3_connect' | |
/Users/nicksieger/Projects/jruby/jruby.org/rakelib/s3.rake:57:in `jruby_org_bucket' | |
/Users/nicksieger/Projects/jruby/jruby.org/Rakefile:67:in `(root)' | |
org/jruby/RubyProc.java:268:in `call' | |
org/jruby/RubyProc.java:228:in `call' | |
/Users/nicksieger/.rvm/gems/jruby-head@global/gems/rake-0.8.7/lib/rake.rb:636:in `execute' | |
org/jruby/RubyArray.java:1676:in `each' | |
/Users/nicksieger/.rvm/gems/jruby-head@global/gems/rake-0.8.7/lib/rake.rb:631:in `execute' | |
/Users/nicksieger/.rvm/gems/jruby-head@global/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' | |
/Users/nicksieger/Projects/ruby/jruby/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize' | |
/Users/nicksieger/.rvm/gems/jruby-head@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' | |
/Users/nicksieger/.rvm/gems/jruby-head@global/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' | |
/Users/nicksieger/.rvm/gems/jruby-head@global/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' | |
/Users/nicksieger/.rvm/gems/jruby-head@global/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' | |
org/jruby/RubyArray.java:1676:in `each' | |
/Users/nicksieger/.rvm/gems/jruby-head@global/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' | |
/Users/nicksieger/.rvm/gems/jruby-head@global/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' | |
/Users/nicksieger/.rvm/gems/jruby-head@global/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' | |
/Users/nicksieger/.rvm/gems/jruby-head@global/gems/rake-0.8.7/lib/rake.rb:2001:in `run' | |
/Users/nicksieger/.rvm/gems/jruby-head@global/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' | |
/Users/nicksieger/.rvm/gems/jruby-head@global/gems/rake-0.8.7/lib/rake.rb:1998:in `run' | |
/Users/nicksieger/.rvm/gems/jruby-head@global/gems/rake-0.8.7/bin/rake:31:in `(root)' | |
org/jruby/RubyKernel.java:1063:in `load' | |
/Users/nicksieger/.rvm/gems/jruby-head@global/bin/rake:19:in `(root)' |
donv
commented
Mar 24, 2012
via email
Found the cause. In Ruboto we load the jruby-openssl extension, and the current public/private method visibility is transferred to the extension.
I changed method visibility to public, and it now works.
Maybe there is a better way?
Our code:
require 'jruby'
puts 'Starting JRuby OpenSSL Service'
public
Java::JopensslService.new.basicLoad(JRuby.runtime)
On 2012-03-24, at 23:32, Nick Sieger wrote:
I must have, though I don't recall how. We're not using aws/s3 anymore now anyway...
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/819210
##
Uwe Kubosch
[email protected]
http://kubosch.no/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment