我不小心將一個js文件放在資產/圖像中,現在即使刪除了js文件後,heroku也不會讓我預編譯我的資源。Rails預編譯錯誤(無效的UTF-8字節序列)
這裏的錯誤消息我
AssetSync: YAML file found /tmp/build_326asn5xl82tm/config/asset_sync.yml settings will be merged into the configuration
rake aborted!
/tmp/build_326asn5xl82tm/app/assets/images/images/index_solid.js has a invalid UTF-8 byte sequence
/tmp/build_326asn5xl82tm/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/utils.rb:19:in `block (2 levels) in read_unicode'
你應該嘗試清空你的/ tmp /目錄 – MrYoshiji
我試過了。仍然收到了同樣的錯誤信息 – otchkcom