Heroku обнаружил, что Rails не настроен для обслуживания static_assets - PullRequest
2 голосов
/ 11 января 2012

Почему каждый раз, когда я "git push heroku" говорит это (средняя часть)? Работает, просто любопытно.

-----> Heroku receiving push
-----> Ruby/Rails app detected


-----> Detected Rails is not set to serve static_assets
       Installing rails3_serve_static_assets... done
-----> Configure Rails 3 to disable x-sendfile
       Installing rails3_disable_x_sendfile... done
-----> Configure Rails to log to stdout
       Installing rails_log_stdout... done


-----> Gemfile detected, running Bundler version 1.0.7
       All dependencies are satisfied
-----> Compiled slug size is 6.6MB
-----> Launching... done, v101

1 Ответ

2 голосов
/ 06 марта 2012

config.serve_static_assets может быть установлен в true в config / application.rb или config / environment / production.rb

...