I've installed the aws-s3 gem, and it's working fine within the context of my rails app. But when I try to use it running a freestanding ruby script, I get errors: <br><br>#!/usr/bin/env ruby<br>require 'rubygems'<br>require 'aws/s3'<br>AWS::S3::Base.establish_connection!(<br>&nbsp; :access_key_id&nbsp;&nbsp;&nbsp;&nbsp; =&gt; 'redacted',<br>&nbsp; :secret_access_key =&gt; 'redacted'<br>)<br>&nbsp;<br>dir='video'<br><br>Dir.foreach(dir) do |p|<br>&nbsp; file="#{dir}/#{p}"<br>&nbsp; S3Object.store(p, open(file), 'mybucket')<br>end<br><br>/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.3.0/lib/aws/s3/extensions.rb:165:in `const_missing': uninitialized constant S3Object (NameError)<br><br>Anyone know what's going wrong here? <br><br><br><br><br><p>&#32;

<hr size=1>Finding fabulous fares is fun.<br><a href="http://farechase.yahoo.com/promo-generic-14795097;_ylc=X3oDMTFtNW45amVpBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzEEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--
">Let Yahoo! FareChase search your favorite travel sites</a> to find flight and hotel bargains.