fix the ruby deprecation test after making it more generic, update wayneeseguin/rvm#2265