ReadMe - Ruby extension for FrontBase 3.x

Package Content

This package contains two modules:

  • The extension library to access a FrontBase database from Ruby.
  • The implementation of the ruby-dbi driver for the FrontBase data base.
  • The distribution contains the following files:

    
      ruby-frontbase/dbd_frontbase/FrontBase.rb
      ruby-frontbase/dbd_frontbase/README
      ruby-frontbase/extconf.rb
      ruby-frontbase/frontbase.c
      ruby-frontbase/Makefile
      ruby-frontbase/README
    

    Requirements

    
      Ruby 1.3.4 or later.
      FrontBase 3.x installed.
    

    To install and build Ruby with FrontBase

    Extension library:

    
        Follow the instructions below to compile and install:
    
            cd ruby-frontbase
            ruby extconf.rb
            make
            su              (if necessary)
            make install
    

    Ruby-dbi driver:

    
        A bit of configuration is needed to move the driver to the
        ruby-dbi-all package. 
    
            cp -r ruby-frontbase/dbd_frontbase ruby-dbi-all/lib/
            cd ruby-dbi-all
        
            cat >> lib/PATHCONV
            dbd_frontbase dbd_frontbase DBD/FrontBase
            CTRL-D
    
        Install like every DBD.
        
            ruby setup.rb config --with=dbd_frontbase
            ruby setup.rb setup
            sudo ruby setup.rb install
    

    Ruby is now ready to use with FrontBase.