This paper introduces and analyzes an evolutionary model of a financial market with a risk-free asset. Focus is on the study of local stability of the wealth dynamics through the application of recent results on the linearization and stability of random dynamical systems (Evstigneev, Pirogov and Schenk-Hoppé, Proceedings of the American Mathematical Society 139, 1061-1072, 2011). Conditions are derived for the linearization of the model at an equilibrium state which ensure local convergence of sample paths to this equilibrium. The paper also shows that the concept of local stability is closely related to the notion of evolutionary stability. A locally evolutionarily stable investment strategy in the evolutionary model with a risk-free asset is derived, extending previous research. The method illustrated here is applicable for the analysis of manifold economic and financial dynamic models involving randomness.