runpaint/read-ruby
Free ebook about Ruby 1.9
{ "createdAt": "2010-05-29T14:25:11Z", "defaultBranch": "master", "description": "Free ebook about Ruby 1.9", "fullName": "runpaint/read-ruby", "homepage": "http://ruby.runpaint.org/", "language": "Ruby", "name": "read-ruby", "pushedAt": "2011-01-28T20:07:33Z", "stargazersCount": 147, "topics": [], "updatedAt": "2025-03-05T16:59:14Z", "url": "https://github.com/runpaint/read-ruby"}Read Ruby
Section titled “Read Ruby”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.
Contributor’s guide
Section titled “Contributor’s guide”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
coderay,h5-min,nokogiri,sinatra, andw3c_validators. If you have thebundlergem installed, you can install the lot by executingbundle installin the repository root. - To validate the DocBook sources you’ll need
xmllint(packaged aslibxml2-utilson Debian et al.) and/oroNVDL. (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:
- Run
rake browseto start the bundled web server - Navigate to
http://localhost:4567/