Fix topology's example .conf files to support ruby gems installed environment.

Fix topology's example .conf files to support ruby gems installed environment.