I'm getting “found character that cannot start any token while scanning for the next token”

后端 未结 7 1737
無奈伤痛
無奈伤痛 2021-01-07 16:07

I have been running Ruby on Rails on my laptop for about a month now, but when I wanted to run the server in this instance (and it was working fine a few hours ago) I now re

7条回答
  •  被撕碎了的回忆
    2021-01-07 16:58

    May not be your specific example, but the title of the Stack Overflow resulted in me being on this post so for those working with this error, it may be due to:

    en.yml or a translation yml or any yaml...

    That doesn't have double quotes around a string interpolation

    points:
      other: %{points} points
    

    Correction:

    points:
      other: "%{points} points"
    

提交回复
热议问题