Location of SQLite3 database files?

Hey all,

I’m relatively new to Ruby (and thus far thoroughly enjoying it) but
have run into an issue that–as basic as it seems–I’ve been able to
find very little help for.

I’m using the gem SQLite3 to manage a database. It’s working fine, but
only thing spooking me: Where is this database file?

I’m creating/opening it with $db =
SQLite3::Database.new(“database_example”)

But, try as I might, I cannot find it. I don’t like not knowing how all
of the parts of my program are working and, eventually, I’d like this
database file to accompany my Ruby script when I deploy it at my
workplace.

Any help much appreciated!

Anthony

Ah, should probably mention I’m running Ubuntu.

-A

Aaaaand figured it out.

Forgot to close the db at the end of the script :slight_smile: