[s3-dev] uninitialized constant OpenSSL::SSL

e deleflie edeleflie at gmail.com
Fri Mar 9 05:51:55 EST 2007


Hi all,

warning: I'm a ruby newbie ....

I've got a funny situation where I can create Buckets, but I cant put
anything in them .... when I try to call 'store' my ruby app just
spins and does nothing ....In debug mode (on arachno) I get the
following error:

================ NameError =====================
c:/ruby/lib/ruby/gems/1.8/gems/aws-s3-0.3.0/lib/aws/s3/extensions.rb:165:in
`const_missing'
          const_missing_not_from_s3_library(sym)

...
=============================================
Exception: uninitialized constant OpenSSL::SSL

my code is very simple:

require 'tk'
require 'aws/s3'
require 'pp'

AWS::S3::Base.establish_connection!(
    :access_key_id     => '902383NOTHNGHERE90',
    :secret_access_key => '0982kjfyeo2jnothinghereeitherrty6'
)

# AWS::S3::Bucket.create('blabliblo')

file = 'booboo.txt'
pp "The file I am trying to upload is " + File.expand_path(file)
AWS::S3::S3Object.store('booboo.txt', open(file), 'blabliblo')
pp AWS::S3::Service.buckets

--------------------
I am using Ruby 1.8.4 ... with aws-s3 0.3.0

etienne


More information about the amazon-s3-dev mailing list