jacquescrocker / jammit-s3

Extensions so you can use jammit with s3/cloudfront for your Rails app
http://documentcloud.github.com/jammit/
MIT License
125 stars 31 forks source link

Gem conflict with paperclip #5

Closed sheab closed 13 years ago

sheab commented 14 years ago

Hey, I already am using paperclip in my app, and it needs the aws-s3 gem.

jammit-s3 wants just the s3 gem, when I try to launch my app with gem 'aws-s3' gem 'jammit-s3' gem 'paperclip' i get "/Users/shea/.rvm/gems/ruby-1.9.2-p0/gems/aws-s3-0.6.2/lib/aws/s3/extensions.rb:206:in `const_missing_from_s3_library': uninitialized constant AWS::S3::Connection (NameError)"

adding gem 's3' does not help

cameronyule commented 13 years ago

The s3 gem has it's own Paperclip extension as an alternative to using aws-s3 if that helps?

sheab commented 13 years ago

I'm an idiot - didn't realize that aws-s3 wasn't the only s3 gem that paperclip could use

thanks, using just the s3 gem fixed it.

joshcutler commented 13 years ago

I am having the same issue. I was wondering what version of the gems you were using, because I could not get paperclip to work with just hte s3 gem

cameronyule commented 13 years ago

@joshcutler Are you using the library file that comes with the s3 gem?

https://github.com/qoobaa/s3/blob/master/extra/s3_paperclip.rb