If you're using Amazon's S3 service with Ruby 1.8.4, you'll probably get this error at some point:
To fix this, see William Strand's post; basically, just edit line 49 of S3.rb
and change it to:
To get the tests in s3-tests.rb
to run I also needed to change line 156 to:
With these changes all seems well; I'm able (while working on indi) to create buckets, upload files, and so on.