Rails version check