Repository is archived
No commit activity in last 3 years
No release in over 3 years
bootstrap-social for Rails asset pipeline
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3.1
 Project Readme

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.