add deprecation warning for more rubies, closes #2265