/usr/bin/gem is in ruby 1:2.5.1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/bin/gem2.5
/usr/bin/gem2.5