[s3-dev] Dying at require
Marcel Molina Jr.
marcel at vernix.org
Mon Nov 19 12:25:24 EST 2007
On Sun, Nov 18, 2007 at 11:59:33PM -0800, Nathaniel Irons wrote:
> It seems like there's a good chance that I'm missing something
> basic, but
> I'm having trouble getting past "require 'aws/s3'". I've tried running
> this wee stub on four machines:
>
> -------
> #!/usr/local/bin/ruby -w
> require 'rubygems'
> require 'aws/s3'
> -------
>
> Here's the shared result:
>
> /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?
<snip>
That's not an exception being raised, those are all just warnings because
your script is being run with warnings turned on
The -w in #!/usr/local/bin/ruby -w
marcel
--
Marcel Molina Jr. <marcel at vernix.org>
More information about the amazon-s3-dev
mailing list