簡體   English   中英

rails 4 Heroku耙資產:預編譯錯誤

[英]rails 4 Heroku rake assets:precompile error

在application.rb上,我已設置config.assets.initialize_on_precompile = false並設置了heroku labs:enable user-env-compile但在推送應用程序時出現錯誤。

   Bundle completed (16.84s)
       Cleaning up the bundler cache.
-----> Writing config/database.yml to read from DATABASE_URL
-----> Preparing app for Rails asset pipeline
       Running: rake assets:precompile
       I, [2014-03-05T02:02:01.768165 #902]  INFO -- : Writing /tmp/build_8a7c8577-cd26-45c3-8c52-5c933f0f7e20/public/assets/glyphicons-halflings-regular-147f3f6e098736e89ffab2c15cfbef06.eot

在Rails 4中不再需要Config.assets.initialize_on_precompile = false並且不建議使用heroku labs:enable user-env-compile

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM