Tuesday, 15 September 2015

ruby on rails - How to turn off Asset Pipeline on Heroku? -



ruby on rails - How to turn off Asset Pipeline on Heroku? -

how turn off asset precompilation on staging server on heroku?

environments/staging.rb:

config.assets.compress = false config.assets.compile = false

environment variable set:

rails_env: staging

when pushing:

...asset precompilation completed (30.65s)...

rails 3.2.11

ruby-on-rails ruby-on-rails-3 heroku ruby-on-rails-3.2 asset-pipeline

No comments:

Post a Comment