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

Rails 3 is end-of-life

To encourage users to update version to latest, I don't want to put
version restriction example in README.md.
This commit is contained in:
Takashi Kokubun 2017-06-14 09:13:44 +09:00
parent c4473d5a32
commit d978bc1ac7
2 changed files with 1 additions and 6 deletions

View file

@ -19,6 +19,7 @@ Breaking Changes
* Haml now requires Ruby 2.0.0 or above.
* Rails 3 is no longer supported, matching the official
[Maintenance Policy for Ruby on Rails](http://weblog.rubyonrails.org/2013/2/24/maintenance-policy-for-ruby-on-rails/).
Use Haml 4 if you want to use Rails 3.
(Tee Parham)
* Remove `:ugly` option ([#894](https://github.com/haml/haml/pull/894))
* The `haml` command's debug option (`-d`) no longer executes the Haml code, but

View file

@ -42,12 +42,6 @@ To use Haml with Rails, simply add Haml to your Gemfile and run `bundle`.
gem 'haml'
~~~
Haml 5 will require Rails version 4.0 or later. If you are using Rails 3.x, you should use Haml version 4.0.x:
~~~ruby
gem 'haml', '~> 4.0.5'
~~~
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.