Adding local gem dir to PATH if ruby is installed.