[Nitro] [OG] - Making it work with SQLite

Ilias Lazaridis ilias at lazaridis.com
Mon Apr 11 16:31:01 EDT 2005

Ilias Lazaridis wrote:
> Ilias Lazaridis wrote:
>> Which are the steps to make OG work with SQLite?
>> http://www.sqlite.org/
> can I please have some inforamtion on this?

The steps were simple (but why has none answered?):

download and install sqlite from www.sqlite.org

install ruby-sqlite binding:

gem install sqlite3 [select latest version from list]


change code from tutorial:

db = Og::Database.new(
     :database => 'test',
     :adapter  => 'sqlite',   # was 'psql',
     :user     => 'postgres',
     :password => 'navelrulez'

>> I would like to be able to keep everything within one folder:
>> http://lazaridis.com/case/persist/index.html#installation
>> How can this be achieved?




More information about the Nitro-general mailing list