adding gems, configuring db