A ring and a solid sphere rotating about an axis passing through their centers have same radii of gyration. The axis of rotation is perpendicular to plane of ring. The ratio of radius of ring to that of sphere is $\sqrt{\frac{2}{x}}$. The value of $x$ is $\_\_\_\_$