mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Update the installation instructions in the README.
haml --rails is outdated.
This commit is contained in:
parent
10b823cd38
commit
35c2d05974
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue