Path problems in embedded terminal

RubyMine 8 (Win 7 Pro x64)

In the embedded terminal I get

...RubymineProjects\untitled>echo %PATH%
C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files (x86)\MiKTeX 2.8\miktex\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPow
erShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\
Program Files (x86)\Common Files\Roxio Shared\DLLShared\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Program Files\Ado
be\Adobe PDF iFilter 9 for 64-bit platforms\bin\;C:\Program Files (x86)\Common Files\Ulead Systems\MPEG;C:\Program Files (x86)\Android\android-sdk\tools;C:\Program Files (x86)\Andr
oid\android-sdk\platform-tools;C:\Program Files (x86)\doxygen\bin;C:\Program Files (x86)\Smart Projects\IsoBuster;C:\Program Files (x86)\Addinsoft\XLSTAT2013;C:\Program Files\Micro
soft\Web Platform Installer\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\T
ools\Binn\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Users\Andrew Hardy\AppData\Local\Programs\LLNL\VisIt 2.6.1;C:\texlive\2009\bin\win32;C:\RubyDevKit; C:\Ruby21-x64\bin

...\RubymineProjects\untitled>gem list sqlite3
'gem' is not recognized as an internal or external command,
operable program or batch file.

But in a windows command line I get (it really wraps just a bad c&p):

...\RubymineProjects\untitled>echo %PATH%
C:\Ruby21-x64\bin;C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files (x86)\MiKTeX 2.8\miktex\bin;C:\Windows\sy
stem32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Sof
tware\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;
C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Pro
gram Files\MySQL\MySQL Server 5.1\bin;C:\Program Files\Adobe\Adobe PDF iFilter 9 for 64-bit platforms\bin\;C:\Program Files (
x86)\Common Files\Ulead Systems\MPEG;C:\Program Files (x86)\Android\android-sdk\tools;C:\Program Files (x86)\Android\android-
sdk\platform-tools;C:\Program Files (x86)\doxygen\bin;C:\Program Files (x86)\Smart Projects\IsoBuster;C:\Program Files (x86)\
Addinsoft\XLSTAT2013;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\
;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files
(x86)\QuickTime\QTSystem\;C:\Users\Andrew Hardy\AppData\Local\Programs\LLNL\VisIt 2.6.1;C:\texlive\2009\bin\win32;C:\RubyDev
Kit; C:\Ruby21-x64\bin

...\RubymineProjects\untitled>gem list slite3

*** LOCAL GEMS ***

...\RubymineProjects\untitled>C:\Ruby21-x64\bin\gem list sqlite3

*** LOCAL GEMS ***

sqlite3 (1.3.11 x64-mingw32, 1.3.9 x64-mingw32)

...\RubymineProjects\untitled>

Does any one know why:
1) The embedded terminal cannot see gem (or any other commands for that matter when written directly into it) even though C:\Ruby21-x64\bin appears to be in its path env var?
2) Why the paths appear to be different?
3) Why I get a different outcome for the two command executions in the direct windows command line?

Thanks

1 comment
Comment actions Permalink

Hello, Andrew,

sorry for the delay. It appears to be a known issue with path variable, please vote for it:

https://youtrack.jetbrains.com/issue/RUBY-16858

 

0

Please sign in to leave a comment.