在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
答案 0 :(得分:0)
Config.assets.initialize_on_precompile = false
,并且已弃用heroku labs:enable user-env-compile
。