root/REQUIREMENTS @ e1e90efaf2e9d9d09046e8877c276cb209c5e614

Revision e1e90efaf2e9d9d09046e8877c276cb209c5e614, 3.2 KB (checked in by Giuseppe Bilotta <giuseppe.bilotta@…>, 6 months ago)

Tokyo Cabinet DB backend

  • Property mode set to 100644
RevLine 
[0f3e302]1Ruby modules needed for rbot
2============================
3
4Core requirements
[e1e90ef]5      tokyocabinet          for "tc" DB adaptor
6                            http://1978th.net/tokyocabinet/
7                            you can install Ruby bindings via "gem install tokyocabinet",
8                            but this still requires libtokyocabinet to be installed system-wide
9      bdb (berkeley db)      for "bdb" DB adaptor or converting from it
10                            http://raa.ruby-lang.org/project/bdb/
[b7d9887]11                            (which requires libdb4.x or better, formerly from
12                            www.sleepycat.com, now at
13                            http://www.oracle.com/technology/products/berkeley-db/index.html)
14                            Most of the time you don't need to compile anything.
15                            If you're running Linux, your distribution should
16                            have a libdb-ruby packaged (or similar).
17                            For Windows instructions, check at the bottom
18                            of this file.
[e1e90ef]19
[269ae07]20      net/http 1.2+
[14d78b4]21      net/https             (for debian, this will also need libopenssl-ruby)
[0f3e302]22      socket
23      uri
[d9878de]24
25Useful but fallback provided
[9ddf627]26      ruby-gettext 1.8.0+   http://www.yotabanana.com/hiki/ruby-gettext.html?ruby-gettext
[38db12d]27                            optional; if installed rbot can use localized messages
[d9878de]28      htmlentities          http://htmlentities.rubyforge.org/
[38db12d]29                            optional; if installed rbot will use it to decode
30                            HTML entities; if missing, an internal table with
31                            the most common HTML entities will be used instead
32      hpricot               http://code.whytheluckystiff.net/hpricot/
33                            optional, if installed rbot will used it to find
34                            the first paragraph in HTML files; if missing,
35                            regular expressions will be used instead
36
[0f3e302]37
38Plugin requirements
39(these are all optional, if you don't have them, the plugins just won't
40function)
41
[269ae07]42bash, digg, slashdot, freshmeat, forecast:
[0f3e302]43      REXML
[269ae07]44rss:
45      rss
[38db12d]46shortenurls:
[269ae07]47      shorturl
48time:
49      tzinfo
[38db12d]50translator:
51      mechanize
[0f3e302]52
53External programs needed for rbot
54=================================
55
56Plugin requirements
57(These are all optional)
58
[38db12d]59cal plugin:
60      cal(1)
61
62figlet plugin:
63      figlet(6)
64
65fortune plugin:
66      fortune(6)
67
[0f3e302]68host plugin:
69      host(1)
70
71spell plugin:
72      ispell(1)
73
74
[10a5625]75Running rbot on win32
76=====================
77
[b7d9887]78You can install Ruby using the One-Click Ruby installer, available from
79http://rubyinstaller.rubyforge.org/
80
81You can find a precompiled version of the bdb package for ruby here
[10a5625]82http://ftp.ruby-lang.org/pub/ruby/binaries/mingw/1.8/ext/bdb-0.5.1-i386-mingw32-1.8.tar.gz
83
[b7d9887]84When you unpack the archive (e.g. using WinZip or 7-Zip or any other tool
85of your choice) you'll notice that it contains the following directory structure:
86  usr
87   +---local
88         +---doc
89         +---lib
90and you have to move the doc and lib folders (and all their contents) in the folder
91where you installed Ruby (typically C:\Ruby\)
92
93
94Further instructions
95====================
[10a5625]96
[3527629]97For further instructions, check http://ruby-rbot.org/rbot-trac/wiki/InstallGuide
Note: See TracBrowser for help on using the browser.