Strictly check installed versions of ruby