How to run rbot in macosx
Environment: macosx 10.5.1 (9.1.0 Darwin Kernel)
- Install macports: We'll make macports do the dirty work: basically installing the ruby package rb-bdb which is the one everybody seems to have problems with. That software is an interface to the berkeley DB.
Once you have macport up and running (follow the intructions on their site and is up to date, go ahead and install rb-bdb.
- Install rb-bdb using macports:
$ sudo port install rb-bdb
That will install a bunch of other dependencies, among them: ruby. Yes, that may sound a little bit overkill since macosx comes already with ruby. Don't worry about it, macports will install all its software under /opt so that version of ruby won't mess with your other ruby versions.
- Follow the GettingStarted guide form the rbot site:
- Launch rbot: Be sure you use macports ruby otherwise rbot will complain about dependencies:
$ /opt/local/bin/ruby ./launch_here.rb
Enjoy!
