`fetch': key not found: “S3_BUCKET_NAME” (KeyError) with paperclip/aws s3/rails
I am getting a 'fetch': key not found: "S3_BUCKET_NAME" (KeyError) error in rails (4.2.3) using 'aws-sdk', '~> 2.3' and "paperclip", "~> 5.0.0" I have set the Keys in my environment via terminal and running heroku config shows them listed. In both my config/environments/development.rb as well as in my config production.rb I have included: config.paperclip_defaults = { storage: :s3, s3_credentials: { bucket: ENV.fetch('S3_BUCKET_NAME'), access_key_id: ENV.fetch('AWS_ACCESS_KEY_ID'), secret_access_key: ENV.fetch('AWS_SECRET_ACCESS_KEY'), s3_region: ENV.fetch('AWS_REGION'), } } I have also