public
Description: Yet Another Planet Refactoring
Homepage: http://intertwingly.net/blog/2007/12/19/Yet-Another-Planet-Refactoring
Clone URL: git://github.com/rubys/mars.git
mars / README
100644 55 lines (34 sloc) 1.394 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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"