Iván González bio photo

Iván González

Software developer @ Simplelogica
100% geek and music freak

Email Twitter LinkedIn Instagram Github Stackoverflow Last.fm Pinterest

I need to integrate the Bootstrap based admin theme SB Admin 2 into a Rails application. I had search on the internet about a gem in order to make it easier the integration of all the assets (images, fonts, css and js), and due to I didn’t found any gem, I developed a Rails gem.

Bootstrap based admin theme SB Admin 2 dashboard example

Installation

Add this line to your application's Gemfile:

gem 'bootstrap_sb_admin_base_v2'

And then execute:

$ bundle

Or install it yourself as:

$ gem install bootstrap_sb_admin_base_v2

Usage

After install the gem, the only thing you should do in your Rails application is add some lines into your manifests files. Add this into your application.js file:

  //= require bootstrap_sb_admin_base_v2

and this line into you application.css file:

  *= require bootstrap_sb_admin_base_v2

And you're ready to use the HTML structure of the Bootstrap based admin theme SB Admin 2 on your Rails application. All the details and documentation about this is here. The gem is a work in progress, so if you detect some bug or improve, please let me know on the Github repository :)