Support Requests: Browse | Submit New | Admin

[#15683] s3sh works, but requiring from a script fails

Date:
2007-11-16 19:32
Priority:
3
Submitted By:
Nobody
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
s3sh works, but requiring from a script fails

Detailed description
I'm using a locally compiled ruby 1.8.6, on Mac OS X 10.5.1. I installed the aws-s3 gem (.4.0), and got far enough with
s3sh to map out the script I need to write. Here's the script so far:

#!/usr/local/bin/ruby -w
require 'rubygems'
require 'aws/s3'

Remarkably, that's all it takes to blow up, thusly:

/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.4.0/lib/aws/s3/extensions.rb:277: warning: method redefined; discarding old
send_request_with_body_stream
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.4.0/lib/aws/s3/base.rb:213: warning: private attribute?
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.4.0/lib/aws/s3/acl.rb:470: warning: private attribute?
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.4.0/lib/aws/s3/logging.rb:65: warning: private attribute?
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.4.0/lib/aws/s3/logging.rb:110: warning: private attribute?
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.4.0/lib/aws/s3/logging.rb:200: warning: private attribute?
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.4.0/lib/aws/s3/owner.rb:35: warning: method redefined; discarding old
proxiable_attribute?
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.4.0/lib/aws/s3/object.rb:372: warning: private attribute?
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.4.0/lib/aws/s3/object.rb:601: warning: method redefined; discarding
old proxiable_attribute?
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.4.0/lib/aws/s3/error.rb:42: warning: private attribute?
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.4.0/lib/aws/s3/error.rb:42: warning: private attribute?
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.4.0/lib/aws/s3/error.rb:42: warning: private attribute?
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.4.0/lib/aws/s3/response.rb:53: warning: method redefined; discarding old
parsed
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.4.0/lib/aws/s3/response.rb:151: warning: private attribute?
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.4.0/lib/aws/s3/response.rb:152: warning: private attribute?

Any idea what might be the cause? I can't find any indication that it's a 10.5 issue; other gems work fine.

Thanks very much.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2007-11-16 22:39
Sender: Nat Irons

I just tried installing the aws-s3 gem on an OS X 10.4.10 machine,
also running locally compiled ruby 1.8.6, and a 10.4.9 machine
running the stock ruby 1.8.2. In both cases gem installed xml-simple,
builder, and mime-types as dependencies, and in both cases the
same require statement fails with the above error.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item