It baffles me how anyone on this planet is expected to comprehend the javascript file rails is referring to in this situation.
SyntaxError: [stdin]:81:5: unexpected if
Extracted source (around line #17):
= javascript_include_tag 'application', 'data-turbolinks-track': true, defer: defer ? defer : false