Permalink
Browse files

Add instructions for rails 3.1+

  • Loading branch information...
1 parent 014906e commit 48e7dd09691699d1e5f55cdabfe2a5922ae18d9b @sakuro sakuro committed Jul 1, 2011
Showing with 7 additions and 3 deletions.
  1. +7 −3 README.md
View
@@ -12,7 +12,7 @@ Flutie is recommended to be run as a gem and included in your Gemfile:
gem "flutie"
-After you've bundled, run the installer:
+After you've bundled, if you are using Rails < 3.1, run the installer:
rake flutie:install
@@ -24,6 +24,10 @@ Click on the "Default styles" link to view the same markup with a barebones layo
To upgrade, bump the gem version in your Gemfile, and then run 'rake flutie:install' again to get the latest changes moved into your application.
+If you are using rails 3.1 or greater with asset pipelining enabled, you don't need to run the installer. Simply add
+ = require 'flutie'
+in the application stylesheet manifest (app/assets/stylesheets/applicaion.css).
+
Usage
-----
@@ -72,10 +76,10 @@ Fork away and create a "Github Issue":http://github.com/thoughtbot/flutie/issues
Development
-----------
-The actual stylesheet source files are sass, so edit the files in public/stylesheets/sass/flutie.
+The actual stylesheet source files are sass, so edit the files in app/assets/stylesheets/sass/flutie.
To rebuild the normal scss run:
- sass -C --update public/stylesheets/sass/flutie:public/stylesheets
+ sass -C --update app/assets/stylesheets/sass/flutie:app/assets/stylesheets
You can run a server which will allow you to view the flutie styleguide locally:

0 comments on commit 48e7dd0

Please sign in to comment.