Error While executing gem ... (Errno::ENOENT)
Hello,
When I want to use gem I always get this error :
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory - //mycompanyserver.COM/_login$
What I should do to prevent that ?
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Luis Lavena on 10 Oct, 2011 09:56 AM
Hello,
Looks like you're using Ruby on Windows inside a corporate environment, correct?
Certain configurations of Windows set the user's home directory to a remote share.
You can workaround that setting HOME environment variable.
Please read the following in the Rubyinstaller troubleshooting page:
https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting#wiki...
Setting HOME to another directory (like your USERPROFILE) should correct the issue, of course, as long it doesn't contain spaces.
Hope that helps.
3 Posted by Y on 10 Oct, 2011 10:00 AM
Hello,
Thanks. I just replaced the "//mycompanyserver.COM/_login$" in my env variables by the disk letter pointing on this server and it works.
Support Staff 4 Posted by Luis Lavena on 10 Oct, 2011 10:05 AM
Great to hear!
Closing this out. Feel free to open another discussion if you have other issues!
Cheers!
Luis Lavena closed this discussion on 10 Oct, 2011 10:05 AM.