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.
I have a new Rails 4 project setup. After
rails new project
, I add the gem to myGemfile
. Then I update myassests/javascripts/application.js
andassets/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 thattwitter/bootstrap/*
plugins will load with the body=1.Any ideas?