From 35c2d059742fd303241ddde778a20d0ed0cd913d Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Mon, 16 Aug 2010 10:20:30 -0700 Subject: [PATCH] Update the installation instructions in the README. haml --rails is outdated. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ef664047..81a5bff8 100644 --- a/README.md +++ b/README.md @@ -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;