Erbium-doped fiber laser systems exhibit a large variety of complex dynamical behaviors, bifurcations and attractors. In this paper, the chaotic behavior which can be achieved under certain conditions in a laser system with erbium-doped fiber, is discussed. The chaos in this system occurs through several standard scenarios. In this paper, the simulation sequence of quasiperiodic, intermittent and period-doubling scenario transitions to chaos is shown. Quasiperiodic and intermittent transitions to chaos are shown on the example system with a single ring. The electro-optical modulator was applied to the system for modulating the loss in the cavity. We used the sinusoidal and rectangular signals for modulation. Generation of chaos is achieved by changing the parameters of signal for modulation. Period-doubling transition to chaos is illustrated in a system with two rings. Simulation results are shown in the time domain and phase space.