$ fetch http://rubyforge.org/frs/download.php/3090/sqlite3-ruby-1.1.0.tar.gz $ tar zxvf sqlite3-ruby-1.1.0.tar.gz $ cd sqlite3-ruby-1.1.0 $ su # ruby setup.rb config # ruby setup.rb setup # ruby setup.rb install require 'sqlite3' require 'nkf' db=SQLite3::Database.new('test.db') db.type_translation = true sql=<<SQL create table member ( id INTEGER PRIMARY KEY, name TEXT, job TEXT ); SQL db.execute