You've not indicated any versions for anything here. Are you running
Rails.latest? Because you don't seem to be indicating particular
versions of your Gems, so you are by default getting the latest of
those... Try finding the exact versions of the Gems that go with your
particular Rails (not easy, I know) and set them definitively in your
environment/gemfile.
Walter
On Oct 29, 2010, at 7:07 PM, Michael Baldock wrote:
> Thanks for the help Walter, I tried what you said, putting them in a
> different order, still doesn't quite work, although some progress,
> got a
> different error message now!:
>
> uninitialized constant AWS::S3::NoSuchBucket
>
> I've set up my s3.yml file now to have the 3 buckets production,
> development and test.
>
> -------------
>
> development:
> bucket: teneventsdevelopment
> access_key_id: key1
> secret_access_key: key2
>
> test:
> bucket: teneventstest
> access_key_id: key1
> secret_access_key: key2
>
> production:
> bucket: tenevents
> access_key_id: key1
> secret_access_key: key2
>
> -------------
>
>
> class EdTenEvent < ActiveRecord::Base
>
> has_attached_file :photo,
>
> :styles => { :thumb => "100x100#", :small => "150x150>" },
> :storage => :s3,
> :s3_credentials => "#{RAILS_ROOT}/config/s3.yml",
> :path => "/:style/:id"
>
> end
>
> -------------
>
>
> Gemfile etc is as above...
>
>
> has anyone had the error 'uninitialized constant
> AWS::S3::NoSuchBucket'??
> anyone got rid of it???
>
>
> has anyone managed to get a rails3 app working with paperclip and s3?
>
> any help apprecirated.
>
> Mike
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonrails-
> talk@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
> .
>
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment