fix paths quoting for .ruby-gemset, fix #1786
NEXT: [GH-1786] for 1.19.2