简体   繁体   English

rails 4 Heroku耙资产:预编译错误

[英]rails 4 Heroku rake assets:precompile error

on application.rb I have set config.assets.initialize_on_precompile = false and set heroku labs:enable user-env-compile but I'm getting an error while pushing the app. 在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