Free ebook about Ruby 1.9
Read Ruby is a book I’m writing about Ruby 1.9.2. It’s in a very rough
state, but the latest version can always be viewed at
ruby.runpaint.org.
Text and images are licensed under a Creative
Commons license.
Suggestions and issue reports are welcomed via the Issue
Tracker.
Fork the GitHub repository, make
commits and do pull requests.
To generate the book, you’ll need:
xsltproc
(Available in an eponymous package on Debian and her derivatives).coderay
, h5-min
, nokogiri
, sinatra
, and w3c_validators
. Ifbundler
gem installed, you can install the lot by executingbundle install
in the repository root.xmllint
(packaged aslibxml2-utils
on Debian et al.) and/oroNVDL
. (Validation will be skippedgzip
for compressing HTML/CSS/JS. Installed by default on most systems.To preview it locally:
rake browse
to start the bundled web serverhttp://localhost:4567/