0
현재 작업중인 웹 앱이 있습니다. 시스템이 git push heroku master를 실행 한 직후에 문제가 발생했습니다. 개발 중에는 앱이 정상적으로 작동합니다. db를 PostgreSQL로 이미 변경 했으므로 밀어 넣을 아무런 문제가 없습니다. 나는 온라인 응용 프로그램을 볼 때 그러나 푸시 후, 그것은 내가 명령 Heroku logs --tail
를 통해 Heroku가 로그를 검색 할 때 나, 오류가의 이야기, 여기에 내가 오류를 발견 내용은 다음과 같습니다heroku에 앱을 배포 한 후 문제가 발생했습니다.
Completed 500 Internal Server Error in 866ms
at parse_error (/tmp/execjs20130330-2-1s2w7pb.js:1824:17)
at new JS_Parse_Error (/tmp/execjs20130330-2-1s2w7pb.js:1720:22)
ActionView::Template::Error (Unexpected character '#' (line: 11021, col: 1, pos: 312418)
Error
at js_error (/tmp/execjs20130330-2-1s2w7pb.js:1728:15)
at Object.semicolon [as 1] (/tmp/execjs20130330-2-1s2w7pb.js:2221:38)
at simple_statement (/tmp/execjs20130330-2-1s2w7pb.js:2362:35)
at /tmp/execjs20130330-2-1s2w7pb.js:2265:32
at Object.next_token [as input] (/tmp/execjs20130330-2-1s2w7pb.js:2070:17)
at next (/tmp/execjs20130330-2-1s2w7pb.js:2175:37)
at /tmp/execjs20130330-2-1s2w7pb.js:2753:32
(in /app/app/assets/javascripts/application.js)):
9: <body>
6: <%= javascript_include_tag
4: <title>Pinsvault</title>
난 못해 고칠 곳을 확인하십시오. 자바 스크립트에서 뭔가있는 것처럼 보입니다.하지만 개발 단계에서 그런 점이 없습니다. 당신이 당신의 javascript_include_tag
을 폐쇄하지 않는 것처럼