Bug 974983

Set up $PATH so that executables installed by a gem can be found.