Rails Javascript not executing, assets compiled correctly -


i having issue javascript not running on production environment. precompiled assets with

rake assets:precompile rails_env=production 

before pushing code git , heroku refuses execute bootstrap's js functions, google analytics/new relic code, menus, image sliders, etc. here's application.js

//= require jquery //= require bootstrap //= require jquery_ujs //= require menu //= require jquery-ui/autocomplete //= require autocomplete-rails //= require jquery-ui/accordion //= require jquery-ui/tooltip //= require jquery.raty //= require search //= require sameheights //= require nprogress //= require sweet-alert //= require sweet-alert-confirm //= require select2 //= require ratyrate //= require local_time //= require tinymce-jquery //= require fancybox //= require_tree . 

when inspect page, there no errors or warnings. of these functions work correctly on development, not all. tried removing each of lines 1 one see if find culprit no luck. in fact, since last time precompiled assets, files added menu, search, , sameheights working fine beforehand.

additionally, production environment correctly sees minified application.js , application.css files pertinent functions , have checked dupes well. help!

it seems issue might either jquery or bootstrap. removed both gems , added cdn hosted versions , seems have resolved issues.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo