Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Ruby Gem that integrates the code necessary to easily use Twitter's Bootstrap Tooltip library within your application.
tree: bd05f08d88
Failed to load latest commit information.
lib Bump version.
vendor/assets Updated CSS.
.gitignore Initial commit.
Gemfile Initial commit.
LICENSE Initial commit. Updated README.
bootstrap-tooltip-rails.gemspec Added engine.

bootstrap-tooltip-rails Gem

bootstrap-tooltip-rails is a Ruby Gem that integrates Twitter's Bootstrap Tooltip library within the Rails Asset Pipeline.


Add to Gemfile:

gem 'bootstrap-tooltip-rails'

Bundle application to install:

bundle install


To add the .js and .css assets to the asset manifest files, run the following:

rails g bootstrap:tooltip:install

If you prefer to add the assets manually, do the following:

add the following to application.js:

//= require bootstrap/bootstrap-tooltip

add the following to application.css:

*= require bootstrap/bootstrap-tooltip


Add the following to the view or global JS include:


Additional options can be passed to tooltip() in the form of a hash as documented here.

Add rel and title properties to a link in your view like the following:

<a href="#" rel="tooltip" title="Tooltip message...">Test</a>

Other options can be


bootstrap-tooltip-rails requires a Rails application with Asset pipeline.


Copyright (c) 2012 Brandon Hilkert. See LICENSE for details.

Something went wrong with that request. Please try again.