fix gems' directory path
fix
Merge remote-tracking branch 'origin/master' into autogen-hook