mock-aws-s3
mock-aws-s3 copied to clipboard
S3 is not a module (TypeError)
Hi,
I am trying to use mock-aws-s3. I keep getting error S3 is not a module. I create a isolated ruby file containing code below
require 'rubygems'
require 'mock-aws-s3'
ruby test_mock_s3.rb
I got still the error below:
S3 is not a module (TypeError)
I do have aws-sdk gem installed. Can that be the source of problem?
Ruby version: ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
How did you fix this?
Was this issue solved?
Any update on this? I have the same error. I'll continue to dig for details.
I am also having this same problem. Just adding mock-aws-s3 to the Gemfile causes this error.
I am sure about exact details. I guess I fixed it by not requiring aws-sdk gem.
Same problem
Looks like this is a long lasting issue and gem is abandoned.