Be more flexible with Rails version