2
當我推送到heroku時,Active Admin在本地工作,但不在heroku上。 我正在rails 4上運行。 Active Admin的字體和一切工作正常,但當我推到heroku時,字體已遍佈各處,它變成了基本的html,沒有css ....等。 發生了什麼事?當我推送到heroku時,Active Admin在本地工作,但不在heroku上
我用的命令是: 1. git add。 2. git commit -am 3. git push heroku master
有沒有從Heroku的輸出推到Heroku的,當你得到任何錯誤:嘗試添加以下到您的Gemfile:
寶石「rails_12factor」,組:生產
來源?當您訪問該應用程序時,是否看到您的heroku日誌中有任何錯誤?這聽起來像你的資產可能沒有被編譯。 – carols10cents