编译资产时无法本地化行错误

时间:2014-06-27 11:53:51

标签: ruby-on-rails heroku zurb-foundation

在编译资产时推送到heroku时遇到错误... 我修改了每一个CSS,以便本地化任何错误,但没有...

事情是这样的 它告诉我编译文件的行,但我需要在编译之前知道错误的行号...有什么想法我该如何解决这个问题?谢谢!

推送时出错:

Running: rake assets:precompile
       [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
       I, [2014-06-27T11:43:08.802691 #1716]  INFO -- : Writing /tmp/build_6b3b977d-af90-4ecf-9f85-03999c81089c/public/assets/application-ccf6af846f884c868c81901ada8cf44b.js
       rake aborted!
       Invalid CSS after "  color: #333;}": expected "}", was ""
       (in /tmp/build_6b3b977d-af90-4ecf-9f85-03999c81089c/app/assets/stylesheets/application.css)
       (sass):6836

0 个答案:

没有答案