Browse files

Added install instructions/runtime dependencies

  • Loading branch information...
jferris committed Nov 4, 2009
1 parent dbecbcd commit 4075d5de3b5179dde4b024851a648cec6b2887c2
Showing with 13 additions and 1 deletion.
  1. +10 −0 README.textile
  2. +2 −0 Rakefile
  3. +1 −1 VERSION
@@ -131,6 +131,16 @@ end
View this example in your browser and you'll see "hocus pocus."
h2. Install
Effigy is distributed as a gem through gemcutter:
sudo gem install effigy -s
Effigy requires Nokogiri.
h2. Why?
Effigy is based on the idea that putting behavior in your templates is confusing and makes them difficult to maintain, and that the closer an ERB template gets to 50% Ruby, 50% HTML, the closer it gets to total chaos. Complicated views require unintuitive concepts (ERB buffers, capture blocks, etc). ERB also has the constant threat of unescaped user input slipping into a view.
@@ -55,6 +55,8 @@ begin = %q{}
gem.platform = Gem::Platform::RUBY
gem.add_runtime_dependency 'nokogiri'
rescue LoadError
@@ -1 +1 @@

0 comments on commit 4075d5d

Please sign in to comment.