Added options to specify Rails version.