Travis build fails with 3 error messages
jasnow opened this issue · 1 comments
jasnow commented
After seeing that Travis build was failing, I forked/cloned the repo, ran bundle, and then rake and got:
DEPRECATION WARNING: `serve_static_files` is deprecated and will be removed in Rails 5.1.
Please use `public_file_server.enabled = true` instead. (called from block in <top (required)> at
.../Projects/rails-controller-testing/test/dummy/config/environments/test.rb:16)
DEPRECATION WARNING: `static_cache_control` is deprecated and will be removed in Rails 5.1.
Please use `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }`
instead. (called from block in <top (required)> at
.../Projects/rails-controller-testing/test/dummy/config/environments/test.rb:17)
.../.rvm/gems/ruby-2.3.0@ruby2.3.0-rails4.2/gems/railties-5.0.0.beta2/lib/rails/railtie/configuration.rb:95:in `method_missing': undefined method `assets' for #<Rails::Application::Configuration:0x007fdf0b857d88> (NoMethodError) Did you mean? asset_host
I think I can fix the first two issues, but unclear how to fix the 3rd one about assets. Do I remove all instances of ".assets" in the repo?
jasnow commented
Surprise I did not get an answer.