解决办法:文件开头加上 ??monospace, serif; font-size: 14px; line-height: 18px; background-color: #eeeeee;"># encoding: utf-8
?
参考链接:http://stackoverflow.com/questions/3678172/ruby-1-9-invalid-multibyte-char-us-ascii