Rails 3.1 Possible Bug in Asset Pipeline and Uglifier

前端 未结 4 1767
借酒劲吻你
借酒劲吻你 2021-01-19 20:03

I ran into a problem deploying on Heroku do to a failure in the rake task

rake assets:precompile

At the bottom is the error I get if I inte

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-19 20:29

    The I18N file "jquery-ui-i18n.js" has a bad character before each comment.

    Looking at the first two lines with "more" in a shell, shows the wrong character:

    /* Afrikaans initialisation for the jQuery UI date picker plugin. */
    /* Written by Renier Pretorius. */
    

    After having removed this character it works.

提交回复
热议问题