Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@stefl
Created January 24, 2010 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefl/285380 to your computer and use it in GitHub Desktop.
Save stefl/285380 to your computer and use it in GitHub Desktop.
(Untested - this is the gist of what you need to do)
Install Macports
http://www.macports.org/install.php
Get the latest TCL/TK:
http://www.activestate.com/activetcl/
Get Berkley DB:
sudo port install db47
Install BDB bindings for Ruby:
sudo env ARCHFLAGS="-arch i386" gem install mattbauer-bdb --source http://gems.github.com -- --with-db-include=/opt/local/include/db47 --with-db-lib=/opt/local/lib/db47
Install Ruby-wordnet
sudo gem install wordnet
Get the wordnet files and convert to Berkley DB
wget http://deveiate.org/code/wordnet-x.y.z.tar.gz
tar xzvf wordnet-x.y.z.tar.gz
cd wordnet-x.y.z
sudo rake install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment