Fix invoking non-rbenv gem command at the end of installation