I want to write a script that retrieves data from a local SQLite3 database and then formats that data into an HTML file.
I'm not sure what "tools" to use, but I guess I'll need the sqlite3 gem and then I was thinking about using Sinatra for the HTML bit.
UPDATE: I'm not looking to create a web service. I just want to run a Ruby script with an sqlite3 database as input and extract a specific set of data, which I then want to format and output as a single file. I mentioned HTML, but anything like markdown would be great as this can then be exported in what ever format you want.
If you don't need
http
protocol I would suggest using template language, e.g. haml: