Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updates to readme for rails 3.1 carification

  • Loading branch information...
commit ea553baad78bcf4c2feb5118b5ee424bd8587e42 1 parent d10e01a
Phil LaPier authored
Showing with 14 additions and 4 deletions.
  1. +14 −4 readme.md
View
18 readme.md
@@ -14,14 +14,24 @@ Update your Gemfile
bundle install
##Rails 3.1.x
+Rename application.css to application.css.scss
+
+ mv app/assets/stylesheets/application.css app/assets/stylesheets/application.css.scss
+
Bourbon needs the sass files to be imported in a specific order to function properly—therefore you will need to disabled the require_tree sprocket directive.
-Comment-out the following sprocket directive in /application.css.scss (Remove the =)
+Delete the following sprocket directive in application.css.scss
- * require_tree .
+ *= require_tree .
-Import the mixins at the beginning of your stylesheet
+Import bourbon at the beginning of application.css.scss
+
+ @import "bourbon";
+
+Import all additional stylesheets from your app/assets/stylsheets directory underneath the bourbon import
- @import 'bourbon';
+ @import "bourbon";
+ @import "home";
+ @import "users";
##Rails 3.0.9 and below
For Rails < 3.1 you must run the installation rake task. Please note, you should run this task everytime a new version of Bourbon is released.
Please sign in to comment.
Something went wrong with that request. Please try again.