i have this strange bug where…
in my application.js file i have
//= require jquery
//= require jquery-ui
//= require jquery_ujs
//= require twitter/bootstrap
if i do
RAILS_ENV=development rake assets:precompile
my bootstrap drop down stops working. however, if i remove the require twitter/bootstrap and hit save on my editor, and then refresh the page on my local machine. it works again.
i dont understand why. this jquery/bootstrap loading has been an issue for weeks. recompiling my assets break it. it works if i recompiled it, but then remove it and refresh the browser
UPDATE.
my css is using custom.css.scss. theres nothing special in there except
@import "bootstrap";
at the top of the file.
ive reverted back to scss instead of less, and my application.js looks like…
//= require jquery
//= require bootstrap
//= require jquery-ui
//= require jquery_ujs
//= require_tree .
on my development machine, the weird bug above occurs but in production everything seems to work fine
i fixed it. i had to do…
something was probably corrupt and also…
in my development.rb