Move runtime Rails version check into railtie.rb