環境: Ruby 2.5.0 Rails 5.1.4 Ubuntu 16.04 本番環境で assets をコンパイルしたところエラーが発生した rake assets:precompile RAILS_ENV=production rake aborted! ExecJS::RuntimeError: SyntaxError: Unexpected token: ~~~ /railspath/app/assets/config/manifest.js:2 JS_Parse_Error.Object.defineProperty.get ((execjs):3538:621) Caused by: V8::Error: Unexpected token: ~~~ at js_error (<eval>:3623:12181) at croak (<eval>:3623:21897) at