anjlab / bootstrap-rails

Twitter Bootstrap CSS (with Sass flavour) and JS toolkits for Rails 3 projects
https://github.com/anjlab/bootstrap-rails
729 stars 96 forks source link

bootstrap.js will not load with body=1 #72

Open aus opened 10 years ago

aus commented 10 years ago

I have a new Rails 4 project setup. After rails new project, I add the gem to my Gemfile. Then I update my assests/javascripts/application.js and assets/stylesheets/application.css.scss. In my layouts, I include <%= javascript_include_tag "application" %> which outputs the HTML <script src="/assets/twitter/bootstrap.js?body=1"></script>.

curl http://localhost:3000/assets/twitter/bootstrap.js?body=1 will yield no response, though I can see the request in my WEBrick log.

http://localhost:3000/assets/twitter/bootstrap.js will repsond with the proper javascript however. Strange thing is that twitter/bootstrap/* plugins will load with the body=1.

Any ideas?

andresclari commented 10 years ago

I've also come across this issue, any workarounds so far?