title: Rails Jquery broken on AWS
body: <p>I deployed a rails application to aws (elastic beanstalk) and all of my javascript broke. I keep getting the error <code>Uncaught ReferenceError: Invalid left-hand side in assignment</code> in the browser console. This error disapears when I remove all js from my rails project. When I only have <code>//= require jquery</code> in my application.js the error appears. I have no idea where to even start debugging this. This error does not occur on my development server. </p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I defined the version of jquery-rails in my gemfile and now its working.</p>
  
  <pre><code>gem 'jquery-rails', '~&gt; 4.2.2'
  </code></pre>