RTFM?
Friday, March 31st, 2006Learning new things is easy if you have access to all kind of materials like books, mailing-list archives, IRC channels, search engines and of course - the manuals. Having no access to Internet means that I need to gather all the answers for my questions during the small timeframe I’m online and also save this information for future use. So, while hacking on some Rails stuff yesterday I couldn’t find any docs on my harddrive. First I though it was because I still wasn’t familiar how ruby-gems are supposed to be installed, but later found out that indeed - no docs for rails itself, but only for it’s main dependancies.
Today I first wanted to download the whole site from api.rubyonrails.org, first with sitecopy, but found out that it’s for uploading stuff… So logged into the #rubyonrails IRC channel and asked out loud:
[13:35] <amd> how is the http://api.rubyonrails.org/ site generated? [13:35] <amd> I would like to make myself an offline copy of it...
The answers were fast to come…
[13:35] <defswork> amd: wget -r it [13:35] <amd> defswork, nice[13:36] * _saiko_ has quit ("leaving") [13:37] <koppen> amd: rake doc:rails [13:37] <koppen> amd: gem_server; and open 127.0.0.1:8808 in your browser gives you something almost like it
OK.. enough said… started the gem_server and opened the URL. Sadly - no docs for Rails. Now I knew what had to be done - it was time to request help from the Gentoo guys, see #128222
Hopefully it gets fixed before I leave the office today, otherwise I won’t be able to check into the new cool stuff during my offline weekend.