Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add installation instructions and note about yanked versions

  • Loading branch information...
commit 739a27685a84357b2fd10d3ef2ebe04301e65f20 1 parent 7612294
@joliss joliss authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 README.md
View
12 README.md
@@ -5,6 +5,18 @@
[Hamlbars](https://github.com/jamesotron/hamlbars) is a Ruby gem which allows you to easily generate [Handlebar](http://handlebarsjs.com) templates using [Haml](http://www.haml-lang.com).
+# Installation
+
+Add the following line to your Gemfile (on Rails, inside the `:assets` group):
+
+```ruby
+gem 'hamlbars', '~> 1.0'
+```
+
+If you are stuck with an older, yanked version like 2012.3.21 and it won't
+update to 1.0, be sure to add `'~> 1.0'` as the version spec and run `bundle
+install`.
+
# Demo Site
If you're unsure how all the pieces fit together then take a quick look at the [demo site](http://hamlbars-demo.herokuapp.com/).
Please sign in to comment.
Something went wrong with that request. Please try again.