Sam Ruby (author)
about 1 month ago
mars /
| name | age | message | |
|---|---|---|---|
| |
README | Fri Mar 28 18:34:10 -0700 2008 | [Scott Bronson] |
| |
Rakefile.rb | Fri Mar 28 18:34:10 -0700 2008 | [Scott Bronson] |
| |
planet.rb | Fri Mar 28 18:34:10 -0700 2008 | [Scott Bronson] |
| |
planet/ | Thu Apr 03 17:55:30 -0700 2008 | [Sam Ruby] |
| |
prereqs.rb | Fri Mar 28 18:34:10 -0700 2008 | [Scott Bronson] |
| |
reconstitute.rb | Fri Mar 28 18:34:10 -0700 2008 | [Scott Bronson] |
| |
test.rb | Fri Mar 28 18:34:10 -0700 2008 | [Scott Bronson] |
| |
test/ | Thu Apr 03 17:55:30 -0700 2008 | [Sam Ruby] |
| |
tools/ | Fri Mar 28 18:34:10 -0700 2008 | [Scott Bronson] |
README
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"




