ruby on rails - Asset pipeline DEPRECATION WARNING tsort.rb:226 -
i have rails 4.2 working fine on development in production env have following warning:
deprecation warning: configuration option `config.serve_static_assets` has been renamed `config.serve_static_files` clarify role (it merely enables serving in `public` folder , unrelated asset pipeline). `serve_static_assets` alias removed in rails 5.0. please migrate configuration files accordingly. (called block in tsort_each @ /home/xxx/.rbenv/versions/2.2.1/lib/ruby/2.2.0/tsort.rb:226)
however don't have config.serve_static_assets in app config. might configured somewhere.
please how rid of this. in advance.
the deprecation warning you're getting caused gem that's setting configuration you. me, we're using rails_serve_static_assets
, we're using version 0.0.2
. remove deprecation warning, update gem (issue has been fixed in version 0.0.3
)
bundle update rails_serve_static_assets