I'm having the problem when i am using amazon s3 services the error is This error occur when i try to save the image. config/initializers/carrierwave.rb } end i am using figaro.gem config/application.yml Gemfile app/uploaders/picture_uploader.rb i followed this site http://blog.thefirehoseproject.com/posts/switching-carrierwave-to-use-s3-with-heroku-and-localhost/ and didn't made any changes other configurations. i have deployed my application to heroku. i want to upload images/videos to that application. can anyone help or suggest me to how to upload images/videos to heroku with using carrierwave. Thanks advance |
CarrierWave.configure do |config| config.fog_credentials = { :provider => 'AWS', :aws_access_key_id => 'XXXXX', :aws_secret_access_key => 'YYYYY', :region => 'us-east-1', :host => 's3.example.com', :endpoint => 'https://s3.example.com:8080'