Update the installation instructions in the README.

haml --rails is outdated.
This commit is contained in:
Nathan Weizenbaum 2010-08-16 10:20:30 -07:00
parent 10b823cd38
commit 35c2d05974
1 changed files with 3 additions and 2 deletions

View File

@ -29,8 +29,9 @@ For more information on these commands, check out
haml --help
sass --help
To install Haml and Sass as a Rails plugin,
just run `haml --rails path/to/rails/app`
To install Haml and Sass in Rails 2,
just add `gem "haml"` to `config/environment.rb`.
In Rails 3, add `gem "haml"` to your Gemfile instead.
and both Haml and Sass will be installed.
Views with the `.html.haml` extension will automatically use Haml.
Sass is a little more complicated;