Installing external packages
Depending on the specific gem, you may need to install extra packages for your operating system.
A well-written gem will have a README file that will indicate the external dependencies it has.
In the application that we will be developing during the course of this book, we'll create SQLite databases. To do so, we will be using the
sqlite3 gem, which depends on SQLite's binary libraries. This means that we don't just need standard SQLite but also its development libraries and headers.
On Ubuntu, run the following command:
Sinatra install 2
Share this highlighthttp://www.safaribooksonline.com/a/instant-sinatra-starter/223033/