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 

Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -