Can't find aws.yml or paperclip.rb files to configure Amazon S3 to use with Paperclip? Rails 4 -


i trying connect amazon s3 services can't seem find files need configure in order make happen. installed these gems in gemfile:

  • gem 'paperclip'
  • gem 'aws-sdk'

and ran bundle install, , restarted server.

when run rails g paperclip pictures image, command works , create migration file it's supposed to, paperclip appear working correctly in sense. rake db:migrate creates columns expected well.

according these 2 tutorials uploading files s3 in ruby paperclip , rubydoc.info, should have these 2 files available me:

  • aws.yml
  • paperclip.rb

but no found. have searched entire directory , down , i've looked multiple times on google , , seems no 1 else having problem.

am forgetting or there alternative way configure paperclip s3 in rails app?

note: not using heroku, prefer learn way not implement heroku.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -