jkrall / mock-aws-s3

Mock
MIT License
35 stars 8 forks source link

S3 is not a module (TypeError) #4

Open dixia opened 12 years ago

dixia commented 12 years ago

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]

excalq commented 11 years ago

How did you fix this?

RohiniPamarty commented 11 years ago

Was this issue solved?

dmbrooking commented 11 years ago

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

brucew commented 10 years ago

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

dixia commented 10 years ago

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

chinshr commented 10 years ago

Same problem

skatkov commented 10 years ago

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