1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Document Rails version compatibility

This commit is contained in:
Tee Parham 2013-12-27 11:54:23 -07:00
parent 3cd62df737
commit b9d254c49f

View file

@ -31,6 +31,13 @@ documentation](http://haml.info/docs/yardoc/).
To use Haml with Rails, simply add Haml to your Gemfile and run `bundle`. To use Haml with Rails, simply add Haml to your Gemfile and run `bundle`.
gem 'haml'
Haml 4.1 requires an actively maintained version of Rails (version 3.2 or later).
If you are using Rails 3.0 or 3.1, you should use Haml version 4.0.x:
gem 'haml', '~> 4.0.4'
If you'd like to replace Rails's Erb-based generators with Haml, add If you'd like to replace Rails's Erb-based generators with Haml, add
[haml-rails](https://github.com/indirect/haml-rails) to your Gemfile as well. [haml-rails](https://github.com/indirect/haml-rails) to your Gemfile as well.