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

前端 未结 2 1494
闹比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:43

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

提交回复
热议问题