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.
Fork the GitHub repository, make commits and do pull requests.
To generate the book, you'll need:
- Ruby 1.9.2 (or 1.9 trunk), which can be installed via rvm.
xsltproc(Available in an eponymous package on Debian and her derivatives).
- The gems
w3c_validators. If you have the
bundlergem installed, you can install the lot by executing
bundle installin the repository root.
- To validate the DocBook sources you'll need
libxml2-utilson Debian et al.) and/or
oNVDL. (Validation will be skipped if these programs aren’t installed).
gzipfor compressing HTML/CSS/JS. Installed by default on most systems.
To preview it locally:
rake browseto start the bundled web server
- Navigate to