This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 8cf548d90e7b448615d86f21098d97913ae593be
tree 76fe017b60f12711c12fde7dd5b50a9cf51ab4a4
parent 834a47f902d389a74a9f52e719f464a8747c9af8
tree 76fe017b60f12711c12fde7dd5b50a9cf51ab4a4
parent 834a47f902d389a74a9f52e719f464a8747c9af8
mars /
| name | age | message | |
|---|---|---|---|
| |
README | Wed Apr 09 05:40:58 -0700 2008 | |
| |
Rakefile.rb | Wed Apr 09 05:40:58 -0700 2008 | |
| |
planet.rb | Fri Mar 28 18:34:10 -0700 2008 | |
| |
planet/ | ||
| |
prereqs.rb | Fri Mar 28 18:34:10 -0700 2008 | |
| |
reconstitute.rb | Fri Mar 28 18:34:10 -0700 2008 | |
| |
splice.rb | ||
| |
test.rb | Fri Mar 28 18:34:10 -0700 2008 | |
| |
test/ | ||
| |
themes/ | ||
| |
tools/ | Fri Mar 28 18:34:10 -0700 2008 |
README
HAML FOR MARS release 0.4
To run the haml example, execute:
rake setup
rake planet
and point your browser to yourdir/index.html
To play with templates once the cache has been built:
rake splice
Setup copies in config and .haml templates for the intertwingly theme.
The various clean tasks remove the extra files. See rake -T
Previously on Planet Mars...
To verify that you have the necessary prereqs installed, execute:
rake prereqs
Information on the various requirements:
Addressable:
gem install addressable
For best resuts, also install idn:
gem install idn
To make sure that gems are searched:
export RUBYOPT="-rubygems"
Html5:
There was a bug fixed on 2007-12-09 that Mars depends on. For best
results, check out the latest:
svn checkout http://html5lib.googlecode.com/svn/trunk/ html5lib
export RUBYLIB="/path/html5lib/ruby/lib"
XmlParser:
Mars needs a *working* XML parser (REXML version 3.1.6 won't do).
To determine the version of REXML you have installed:
ruby -rrexml/document -e 'p REXML::VERSION'
For best results (speed, spec compliance), install one of
http://www.yoshidam.net/xmlparser_en.txt
http://libxml.rubyforge.org/
The latest REXML can be obtained by
svn co http://www.germane-software.com/repos/rexml/trunk/ rexml
export RUBYLIB="/path/rexml/src"








