I\'m trying to precompile my assets for production, but rails doesn\'t seem to be cooperating.
$ bundle exec rake assets:precompile /home/drderp/.rvm/rubies/
In my case, I was using es6 syntax ()=>{...} in js file. Replacing it with function(){...} fixed the problem.
()=>{...}
function(){...}