Skip to content

Instantly share code, notes, and snippets.

@atambo
Created January 28, 2012 12:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atambo/1694196 to your computer and use it in GitHub Desktop.
Save atambo/1694196 to your computer and use it in GitHub Desktop.
Fog::Storage.new(
:provider => 'AWS',
:aws_secret_access_key => SECRET_ACCESS_KEY,
:aws_access_key_id => ACCESS_KEY_ID
).put_object(BUCKET, "test", "kaskdjs")
Excon::Errors::SocketError: undefined method `write_nonblock' for #<OpenSSL::SSL::SSLSocket:0x6f37534b>
from C:/jruby-1.6.5/lib/ruby/gems/1.8/gems/excon-0.9.5/lib/excon/socket.rb:113:in `write'
from C:/jruby-1.6.5/lib/ruby/gems/1.8/gems/excon-0.9.5/lib/excon/connection.rb:201:in `request_kernel'
from C:/jruby-1.6.5/lib/ruby/gems/1.8/gems/excon-0.9.5/lib/excon/connection.rb:89:in `request'
from C:/jruby-1.6.5/lib/ruby/gems/1.8/gems/fog-1.1.2/lib/fog/core/connection.rb:20:in `request'
from C:/jruby-1.6.5/lib/ruby/gems/1.8/gems/fog-1.1.2/lib/fog/aws/storage.rb:381:in `request'
from C:/jruby-1.6.5/lib/ruby/gems/1.8/gems/fog-1.1.2/lib/fog/aws/requests/storage/put_object.rb:39:in `put_object'
from (irb):3:in `evaluate'
from org/jruby/RubyKernel.java:1088:in `eval'
from C:/jruby-1.6.5/lib/ruby/1.8/irb.rb:158:in `eval_input'
from C:/jruby-1.6.5/lib/ruby/1.8/irb.rb:271:in `signal_status'
from C:/jruby-1.6.5/lib/ruby/1.8/irb.rb:155:in `eval_input'
from org/jruby/RubyKernel.java:1420:in `loop'
from org/jruby/RubyKernel.java:1192:in `catch'
from C:/jruby-1.6.5/lib/ruby/1.8/irb.rb:154:in `eval_input'
from C:/jruby-1.6.5/lib/ruby/1.8/irb.rb:71:in `start'
from org/jruby/RubyKernel.java:1192:in `catch'
from C:/jruby-1.6.5/lib/ruby/1.8/irb.rb:70:in `start'
from C:/jruby-1.6.5/lib/ruby/gems/1.8/gems/railties-3.2.1/lib/rails/commands/console.rb:47:in `start'
from C:/jruby-1.6.5/lib/ruby/gems/1.8/gems/railties-3.2.1/lib/rails/commands/console.rb:8:in `start'
from C:/jruby-1.6.5/lib/ruby/gems/1.8/gems/railties-3.2.1/lib/rails/commands.rb:41:in `(root)'
from org/jruby/RubyKernel.java:1038:in `require'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment