Heroku always runs assets:precompile with the production environment for Rails 3.2

前端 未结 2 1484
闹比i
闹比i 2021-02-08 05:10

I have my Heroku environment set to staging but my assets are always compiled in the production environment.

Here\'s heroku config:

GEM_PATH              


        
相关标签:
2条回答
  • 2021-02-08 05:35

    Apparently I needed to enable a plugin to make it work.

    0 讨论(0)
  • 2021-02-08 05:43

    Try setting RAILS_ENV to staging as well and see if that makes Heroku any happier.

    0 讨论(0)
提交回复
热议问题