install gems, and create db