I am trying to use the new S3 library (thanks Marcel!) but I am
getting an Uninitialized Constant message:
NameError: uninitialized constant Service
const_missing_not_from_s3_library' from /opt/local/lib/ruby/gems/1.8/gems/aws-s3-0.1.1/lib/aws/ s3/extensions.rb:119:inconst_missing’
I am calling the following in my environment.rb file:
MY_ID_HERE, :secret_access_key => MY_KEY_HERE)
and then I fired up the console and tried the above and boom…
I also tried not putting the connection call in environment.rb and
instead into a controller. Same deal.
I recently upgraded to the new gem:
aws-s3 (0.1.1, 0.1.0)
Client library for Amazon’s Simple Storage Service’s REST API
Any ideas what I am doing wrong? I can run the command line client
included in the gem without difficulty.
Thanks a ton,