Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

SQLite database engine embedded in a ruby extension.

README.md

Amalgalite

Articles

INSTALL

  • gem install amalgalite

DESCRIPTION

Amalgalite embeds the SQLite database engine in a ruby extension. There is no need to install SQLite separately.

Look in the examples/ directory to see

  • general usage
  • blob io
  • schema information
  • custom functions
  • custom aggregates
  • requiring ruby code from a database
  • full text search

Also Scroll through Amalgalite::Database for a quick example, and a general overview of the API.

Amalgalite adds in the following additional non-default SQLite extensions:

BUILDING FOR WINDOWS

rake-compiler is use for building the windows version. For me, on OSX to cross compile the process is:

% gem install rake-compiler # in each rvm instance, 1.8.7, 1.9.3
% rvm use 2.0.0@amalgalite
% rake-compiler cross-ruby VERSION=2.0.0-p0 # or latest
% rvm use 1.9.3@amalgalite
% rake-compiler cross-ruby VERSION=1.9.3-p374 # or latest
% rvm use 1.8.7@amalgalite
% rake-compiler cross-ruby VERSION=1.8.7-p371

# This only works via 1.8.7 at the current moment
% rake cross native gem RUBY_CC_VERSION=1.8.7:1.9.3:2.0.0

CREDITS

CHANGES

Read the HISTORY.rdoc file.

LICENSE

Copyright (c) 2008 Jeremy Hinegardner

All rights reserved.

See LICENSE and/or COPYING for details.

Something went wrong with that request. Please try again.