0
クリップクリップとaws sdkを使用して写真をs3にアップロードしようとしています。私はこのエラーがある、エラーを修正するために私に与えることができる任意の扇動があります。はいプログラムはproduction.rbファイルにs3がペーパークリップで動作していません、エラー
2017-02-26T12:05:12.109005+00:00 app[web.1]: SQL (2.6ms) INSERT INTO "pics" ("title", "description", "image_file_name", "image_content_type", "image_file_size", "image_updated_at", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["title", "shthth"], ["description", "sthshst"], ["image_file_name", "cartoon_napp_bald.png"], ["image_content_type", "image/png"], ["image_file_size", 152774], ["image_updated_at", "2017-02-26 12:05:11.878778"], ["user_id", 1], ["created_at", "2017-02-26 12:05:12.099885"], ["updated_at", "2017-02-26 12:05:12.099885"]]
2017-02-26T12:05:12.109901+00:00 app[web.1]: [paperclip] saving /pics/images/000/000/010/original/cartoon_napp_bald.png
2017-02-26T12:05:12.116125+00:00 app[web.1]: (2.3ms) ROLLBACK
2017-02-26T12:05:12.116666+00:00 app[web.1]: Completed 500 Internal Server Error in 245ms (ActiveRecord: 7.9ms)
2017-02-26T12:05:12.117484+00:00 app[web.1]:
2017-02-26T12:05:12.117486+00:00 app[web.1]: NameError (uninitialized constant Paperclip::Storage::S3::AWS):
2017-02-26T12:05:12.117487+00:00 app[web.1]: app/controllers/pics_controller.rb:19:in `create'
2017-02-26T12:05:12.117488+00:00 app[web.1]:
2017-02-26T12:05:12.117489+00:00 app[web.1]:
2017-02-26T12:05:12.129680+00:00 heroku[router]: at=info method=POST path="/pics" host=justshare.herokuapp.com request_id=048573a9-bea0-46c1-b91f-453fa091d0f3 fwd="98.213.220.117" dyno=web.1 connect=1ms service=397ms status=500 bytes=1754