when trying to deploy with capistrano, when capistrano use command bundle exec rake
RAILS_ENV=production RAILS_GROUPS=assets assets:precompile
Downgrading "jquery-rails" to "2.3.0" fixed this issue for me as well.