The iOS-platform comes with a sqlite3 library. To use it from within a rubymotion-project, just add these lines to your Rakefile:

app.libs << "-lsqlite3"