2014-03-05 144 views
0

on application.rb我已經設置了config.assets.initialize_on_precompile = false 並設置了heroku labs:enable user-env-compile但我在推送應用程序時出錯。rails 4 Heroku rake資產:預編譯錯誤

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

請發佈您的錯誤,檢查您的本地ruby版本是否與Heroku相同。 – juanpastas

回答

0

Config.assets.initialize_on_precompile = false不再需要在軌道4,5和heroku labs:enable user-env-compile已棄用。