This paper presents the analytic framework for evaluating the ergodic capacity (EC) of the reconfigurable intelligent surface (RIS) assisted systems. Moreover, high-signal-to-noise-ratio and high-number of reflection units (RUs) approximations for the EC are provided. Finally, the special case in which the RIS is equipped with a single RU is investigated. Our analysis is verified through respective Monte Carlo simulations, which highlight the accuracy of the proposed framework.