でデプロイするとcapistrano
、production
以下のエラーが発生します。しかしstaging
、警告メッセージが表示されません。
DEPRECATION WARNING: The configuration option `config.serve_static_assets` has been renamed to `config.serve_static_files` to clarify its role (it merely enables serving everything in the `public` folder and is unrelated to the asset pipeline). The `serve_static_assets` alias will be removed in Rails 5.0. Please migrate your configuration files accordingly. (called from block in tsort_each at /home/deploy/.rbenv/versions/2.2.0/lib/ruby/2.2.0/tsort.rb:226)
また、私の production.rb と staging.rb の両方の環境ファイルには、次の行がコメントされています: # config.serve_static_files = true