Give g+w permissions on each ruby's gem path to allow members of rbenv group (such as jenkins) to install gems, fix #2807