bootstrap-social for Rails asset pipeline
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
vendor/assets/stylesheets
.gitignore
Gemfile
LICENSE
README.md
bootstrap-social-rails.gemspec

README.md

bootstrap-social-rails

Gem Version Gem Downloads

bootstrap-social for Rails asset pipeline

  • bootstrap-social version: 4.12.0

Installation

  1. Add to your Gemfile and install with bundler:
gem 'bootstrap-social-rails'
bundle install
  1. Require the bootstrap-social css file in app/assets/stylesheets/application.css:
*= require bootstrap-social

Or in app/assets/javascripts/application.css.scss / app/assets/javascripts/application.css.sass:

@import bootstrap-social;
@import bootstrap-social
  1. Add font-awesome-rails (Optional)

Bootstrap-social is often used with Font Awesome icons. font-awesome-rails gem provides the web fonts and stylesheets for the Rails asset pipeline.

gem 'font-awesome-rails'
bundle install

Require the font-awesome-rails css file in app/assets/stylesheets/application.css:

*= require font-awesome

Or in app/assets/javascripts/application.css.scss / app/assets/javascripts/application.css.sass:

@import 'font-awesome';
@import font-awesome

Acknowledgements

bootstrap-social created by Panayiotis Lipiridis, licensed under the MIT license

Copyright Gavin Lam, released under the MIT License.