mock-aws-s3 icon indicating copy to clipboard operation
mock-aws-s3 copied to clipboard

S3 is not a module (TypeError)

Open dixia opened this issue 12 years ago • 7 comments

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]

dixia avatar Aug 27 '12 15:08 dixia

How did you fix this?

excalq avatar Jan 31 '13 19:01 excalq

Was this issue solved?

RohiniPamarty avatar Apr 03 '13 10:04 RohiniPamarty

Any update on this? I have the same error. I'll continue to dig for details.

dmbrooking avatar Jun 01 '13 15:06 dmbrooking

I am also having this same problem. Just adding mock-aws-s3 to the Gemfile causes this error.

brucew avatar Dec 04 '13 21:12 brucew

I am sure about exact details. I guess I fixed it by not requiring aws-sdk gem.

dixia avatar Dec 04 '13 21:12 dixia

Same problem

chinshr avatar Jan 29 '14 17:01 chinshr

Looks like this is a long lasting issue and gem is abandoned.

skatkov avatar Mar 14 '14 21:03 skatkov