title: Current ExecJS runtime does't support ES6
body: <p><code>rake assets:precompile</code> for my rails project throws below error:</p>
  
  <blockquote>
    <p>rake aborted!
    Current ExecJS runtime does't support ES6. Please install latest Node.js.</p>
  </blockquote>
  
  <p>Below is the environment information:</p>
  
  <pre><code>rails -v
  Rails 5.0.7
  
  ruby -v
  ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
  
  node -v
  v6.11.1
  </code></pre>
  
  <p>I tried reinstalling all my gems. But still, the error comes. OS is RHEL.</p>