capistrano
当我使用in 进行部署时,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