Rails Asset Gem for the default Bootstrap Modal class by Jordan Schroter


Add these lines to your application's Gemfile:

group :assets do
 gem 'bootstrap-modal-rails'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install bootstrap-modal-rails



In your app/assets/stylesheets/application.css

//= require bootstrap-modal


In your app/assets/javascripts/application.js

//= require bootstrap-modal
//= require bootstrap-modalmanager


This gem will directly track the semantic versioning releases of the https://github.com/jschr/bootstrap-modal project. If it should be necessary a build number will be added to the version to mark releases specific to this gem.

Note on Patches / Pull Requests

  1. Fork the project.
  2. Make your feature addition or bug fix.
  3. Add tests for it. This is important so I don't break it in a future version unintentionally.
  4. Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  5. Send me a pull request. Bonus points for topic branches.