Adjusted database config & gem file