Socket Action Ruby