Install necessary Gems and updated database.yml