fix for socket gems not being chosen