Install necessary gems.