It's generally a good idea to make the app file responsible for loading app dependencies, such as sqlite3 or the db/config.

This way, you don't duplicate  a series of requires throughout each place you require app (like in your spec_helper, rakefile, or config.ru)