Gems and db config