This repository has been archived on 2020-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
2010-06-01 00:09:16 +02:00
|
|
|
#!/usr/bin/env rackup1.8
|
|
|
|
|
|
|
|
$LOAD_PATH.unshift "/home/paul/Projects/anne-survey/lib"
|
|
|
|
|
|
|
|
require "anne-survey"
|
|
|
|
|
2011-02-15 18:27:30 +01:00
|
|
|
Anne::Models::Base.establish_connection( :adapter => 'sqlite3',
|
|
|
|
:database => 'db/survey.db',
|
|
|
|
:timeout => 10000 )
|
|
|
|
Anne.create
|
2010-06-01 00:09:16 +02:00
|
|
|
|
|
|
|
run Anne
|