Skip to content

Instantly share code, notes, and snippets.

@KenneyE
Created May 15, 2014 17:11
Show Gist options
  • Save KenneyE/0d450a9c3c6ae7c1416e to your computer and use it in GitHub Desktop.
Save KenneyE/0d450a9c3c6ae7c1416e to your computer and use it in GitHub Desktop.
Setup steps for bootstrap
1. gem ‘bootstrap-sass’
2. mv assets/stylesheets/application.css assets/stylesheets/application.css.scss
3. in application.css.scss add @import “bootstrap”;
4. in application.js -> //= require bootstrap
5. in application.html.erb:
<%= stylesheet_link_tag 'application' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
6. Tweak variables in application.css.scss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment