2017-01-11 6 views
0

나는 을 가지고 있습니다. JRuby Rails app. "rails s app"으로 실행됩니다. warbler로 war-file을 빌드하고 tomcat과 통합했습니다. 다음 표시되는 로그 파일에jruby on rails 앱 및 바람둥이, 바람둥이, 창문

"We're sorry, but something went wrong."

: 응용 프로그램은 시작되지만 다음 오류 메시지가 표시 얻을 구문 에러가 어디에서 오는지

"INFO: F, [2016-12-14T11: 06: 40.187000 # 124] FATAL -:
ActionView :: Template :: Error (undefined: SyntaxError: Unexpected token: eof (undefined)):
7:
8: .row
9: .col-md-6
10: = image_tag 'leaman_ir_doc.png', style: "width: 100%, border: 2px solid gray;"
11: App/views/home/index.html.haml: 10: in `_app_views_home_index_html_haml__819972750_6656 '"

나도 몰라!?

답변

0

오류는 이미지와 스타일 시트를 찾을 수 없다는 의미입니다. 다음 항목으로 이동하여 config.rb 또는 production.rb에 저장 한 다음 오류없이 응용 프로그램을 실행하십시오.
Config.assets.js_compressor = : uglifier
이 설정으로 인해 이미지 및 스타일 시트가 더 이상 발견되지 않고 내가 그것에 대해 할 수있는 일은 무엇입니까?

모든 답변 주셔서 감사합니다 .-)