in `<module:RbReadline>': HOME environment variable (or HOMEDRIVE and HOMEPATH) must be set and point to a directory (R
Hi All, i have all of a sudden being getting this error when i try to use bundle in my RubyMine 2016.1.2
Build #RM-145.1813, built on June 14, 2016
JRE: 1.8.0_77-b03 x86.
I get this error when i try to bundle install
C:/Ruby22/lib/ruby/site_ruby/2.2.0/rbreadline.rb:1097:in `<module:RbReadline>': HOME environment variable (or HOMEDRIVE and HOMEPATH) must be set and point to a directory (R
Now i have spent almost 8 hours on this issue and i cannot figure it out. I have set the path to the correct directory , installed the devkit ,re-installed my ruby and rubymine version but i still get this error. is there an known issue regarding this? Because i have not had any problems for over a year and then all of a sudden i upgraded and i am receiving this error. Can anyone help please?
Thanks Carlos
请先登录再写评论。
Hello, Carlos,
sorry for the delay. Could you please check what
setcommand gives you if you run it in cmd and RubyMine's Terminal?C:\Users\Envy 17-J130US\RubymineProjects>set
PROMPT=$P$G
USERDOMAIN_ROAMINGPROFILE=17-J130US
LOCALAPPDATA=C:\Users\Envy 17-J130US\AppData\Local
PROCESSOR_LEVEL=6
Platform=MCD
FP_NO_HOST_CHECK=NO
VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\
USERDOMAIN=17-J130US
FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
LOGONSERVER=\\17-J130US
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_25
SESSIONNAME=Console
ALLUSERSPROFILE=C:\ProgramData
PROCESSOR_ARCHITECTURE=AMD64
ANDROID_HOME=C:\Program Files (x86)\Android\android-studio\sdk
PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\PowerShell\Modules\
SystemDrive=C:
ANT_HOME=C:\bin
APPDATA=C:\Users\Envy 17-J130US\AppData\Roaming
USERNAME=Envy 17-J130US
PCBRAND=Pavilion
ProgramFiles(x86)=C:\Program Files (x86)
VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
CommonProgramFiles=C:\Program Files\Common Files
Path=C:\Program Files (x86)\Google\Chrome\Application\chrome.exe;c:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;c:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Python27\;C:\Python27\Scripts;C:
\ProgramData\Oracle\Java\javapath;C:\Program Files\Java\jdk1.8.0_25/bin;C:\Program Files (x86)\Android\android-studio\sdk\build-tools;C:\Program Files (x86)\Android\android-studio\sdk\platform-tools;C:\Program Files\nodejs
\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;c:\Program Files\Intel\WiFi\bin\;c:\Program Files\Common Files\Intel\Wireless
Common\;C:\Program Files (x86)\Skype\Phone\;C:\Users\Envy 17-J130US\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL S
erver\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\HashiCorp\Vagrant\bin;C:\Program Files\SlikSvn\bin;C:\Program Files\Git\cmd;C:\Ruby22\bin;C
:\RailsInstaller\Ruby2.2.0\bin;C:\Users\Envy 17-J130US\AppData\Local\Spoon\Cmd;C:\Users\Envy 17-J130US\AppData\Roaming\npm;C:\Program Files (x86)\Google\google_appengine\;C:\Users\Envy 17-J130US\.calabash\sandbox\bin;C:\Us
ers\Envy 17-J130US\AppData\Local\Microsoft\WindowsApps;
FPS_BROWSER_USER_PROFILE_STRING=Default
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.RB;.RBW
OS=Windows_NT
COMPUTERNAME=17-J130US
OnlineServices=Online Services
PROCESSOR_REVISION=3c03
CommonProgramW6432=C:\Program Files\Common Files
ComSpec=C:\WINDOWS\system32\cmd.exe
home=C:\Users\Envy 17-J130US\.ssh\id_rsa
ProgramData=C:\ProgramData
ProgramW6432=C:\Program Files
HOMEPATH=\Users\Envy 17-J130US
SystemRoot=C:\WINDOWS
TEMP=C:\Users\ENVY17~1\AppData\Local\Temp
HOMEDRIVE=C:
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
USERPROFILE=C:\Users\Envy 17-J130US
TMP=C:\Users\ENVY17~1\AppData\Local\Temp
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
ProgramFiles=C:\Program Files
PUBLIC=C:\Users\Public
NUMBER_OF_PROCESSORS=8
windir=C:\WINDOWS
Could you please try setting HOME variable (not 'home'). In addition, is 'C:\Users\Envy 17-J130US\.ssh\id_rsa' your home directory?