fix to export PATH for gem command internal path