fix file permission on installed gems - fixes #1989 [skip ci]