I've got a Rails app which uses the twitter-bootstrap-rails gem to provide Bootstrap resources. I was having a difficult time trying to add jquery ui, but that's not my question. When trying to get jquery ui working, I added and removed numerous gems and updated files driving the asset pipeline.
Now it seems I have damaged the Rails/Bootstrap javascripts, as a nav bar drop down no longer works.
The app is not that far along, and I can restart the build to resolve the issue. But I am trying work out where I should look when there are problems in the asset pipeline, for future reference.
I have checked the following places, and they all look ok:
- Gemfile
- application.js
- bootstrap.js.coffee
- application.css
- bootstrap_and_overrides.css.ls
- application.html.erb
I have also tried the following commands:
$ rake assets:precompile
$ rake assets:clean
And of course I have tried bouncing the web server and clearing the browser cache. The application is on dev only.
When there is a asset problem or conflict, what is the best way to troubleshoot it? Should I be using Firebug or the like to help identify the actual issue?