controller set up and updated gem file