标签: ruby-on-rails ruby-on-rails-3 heroku ruby-on-rails-3.2 asset-pipeline
如何关闭Heroku上的登台服务器上的资产预编译?
环境/ staging.rb:
config.assets.compress = false config.assets.compile = false
设置环境变量:
RAILS_ENV: staging
推送时:
...Asset precompilation completed (30.65s)...
Rails 3.2.11