'us-east-1' のバケットに precompile した assets をアップロードする場合に表題の問題が発生した。
s3 の url に問題があるらしい。
以下のように asset_sync の設定で fog_path_style を true に設定すれば解決する。
config/initializers/asset_sync.rb
config.fog_path_style = true
More than 5 years have passed since last update.
'us-east-1' のバケットに precompile した assets をアップロードする場合に表題の問題が発生した。
s3 の url に問題があるらしい。
以下のように asset_sync の設定で fog_path_style を true に設定すれば解決する。
config.fog_path_style = true
Register as a new user and use Qiita more conveniently