While executing gem (Errno::ENOENT)

I’m trying to help a co-worker install Ruby on Rails on his Windows 7
PC. But when we try to update the gems or install the sqlite3 gem, it
gives us an error. It looks like it’s looking for a network drive (N:)
instead of looking at the OS drive (C:)


c:\Ruby192\bin>gem update --system
Updating RubyGems
ERROR: While executing gem … (Errno::ENOENT)
No such file or directory - N:/

When we do gem env, it points to the right direction the C:\ drive

On Oct 19, 2:10pm, “Leonel .[email protected] wrote:


When we do gem env, it points to the right direction the C:\ drive

Please provide the entire output of “gem env”

It is also known that installations of cygwin can report
Errono::ENOENT or permission denied:

http://github.com/oneclick/rubyinstaller/wiki/Troubleshooting#gems_fails

I think we found the problem. They have a weird network setup here. I
think he’s on a virtual desktop or something. He had to login to the N:/
drive and it finally worked.