Sprockets::FileNotFound: couldn't find file 'twitter/bootstrap' with type 'application/javascript'

Trying to implement gem ‘Bootstrap-Image-Gallery-rails’

Did you include both of the following lines in your app/assets/javascripts/application.js ?
//= require bootstrap
//= require bootstrap-sprockets

Only one of these lines should be present, it could cause such a loading problem.