ただのメモ Gemfile gem "paperclip", "~> 3.4.1" gem "aws-sdk", "~> 1.9.5" config/environments/*.rb config.paperclip_defaults = { #path: "#{Rails.root}/public/system/develop/:class/:id/:style/:hash.:extension", path: ":class/:id/:style/:hash.:extension", #url: "/system/develop/:class/:id/:style/:hash.:extension", storage: :s3, s3_credentials: { s3_host_name: "s3-ap-northeast-1.amazonaws.com", bucket: "bu