Use the correct Rails module to determine Rails version