tar -zvxf arunadb_0_80.tar.gz
cd arunadb_0_80/ruby_ext
ruby extconf.rb # this creates the Makefile
make # You may see some (about 2 dozen) warnings messages such as "aruna.c:412: warning: decimal constant is so large that it is unsigned". These are okay.
make install
This creates a sub-directory called arunadb_0_80 containing the following:
docs - this directory contains all documentation. The documentation is currently available only in html format.
ruby_ext - this contains several C extensions to Ruby needed by ArunaDB.
tst - this contains the Ruby test scripts I use to test the software.
You need to do one of the following to properly integrate ArunaDB into your Ruby scripts (Ruby needs to be configured to be able to find the ArunaDB files):
copy the .rb files to your Ruby lib directory
reference the arunadb_0_80 directory using the -I parameter when running Ruby
set the $: or $LOAD_PATH variables to include the directory where the ArunaDB files are (arunadb_0_80)
Quick test:
cd ../tst
ruby -I.. tst_a_btree.rb
# The -I.. tells ruby to find the ArunaDB library files in the parent directory