Here’s my …
application.js
//
//= require jquery2
//= require jquery_ujs
//= require bootstrap-sprockets
//= require bootstrap
//= require bootstrap-image-gallery
// require turbolinks
//= require blueimp-gallery
//= require blueimp-gallery-fullscreen
//= require blueimp-gallery-indicator
//= require blueimp-gallery-video
//= require blueimp-gallery-youtube
//= require jquery.blueimp-gallery
Here’s my application.css
*= require_self
*= require bootstrap
*= require blueimp-gallery
*= require bootstrap-image-gallery
*= require blueimp-gallery-indicator
*= require blueimp-gallery-video
And from my view:
<%= yield(:title)%> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> ...