Heroku编译资产问题?

时间:2014-11-16 00:12:05

标签: ruby-on-rails heroku

-----> Preparing app for Rails asset pipeline
       Running: rake assets:precompile
       Warning. Error encountered while saving cache 5360bb6db5a4334d2c54285cdc87b2b44603c220/static.css.scssc: can't dump anonymous class #<Class:0x007fc369964f18>
       Warning. Error encountered while saving cache 5360bb6db5a4334d2c54285cdc87b2b44603c220/application.css.scssc: can't dump anonymous class #<Class:0x007fc369964f18>
       I, [2014-11-16T00:08:45.210386 #617]  INFO -- : Writing /tmp/build_48a4918221372e4550fe010de2fbfd6f/public/assets/application-692d8d8e1b1dd3eaab947f9c79b2e440.css
       Asset precompilation completed (2.96s)
       Cleaning assets
       Running: rake assets:clean
       I, [2014-11-16T00:08:47.873902 #645]  INFO -- : Removed application-7af893edd04e61e3a7f9d259890ec9f9.css

当我将rails应用程序推送到heroku时,我得到了上面的输出。导致此警告的原因是什么? can't dump anonymous class #作为一个方面,当我查看源代码时,所有内容似乎都是正确的混淆/混淆,并且网站似乎也能正常工作。 为什么错误/警告?

0 个答案:

没有答案