How to avoid persistent problems with several programs (git, ruby, python) and problems with the default network drive?

Windows 7 PC. Our network administrator has a network drive (H: drive), which is installed during reboot ..... I do not have access when not in the office (or unavailable via VPN). I learned to install applications after disconnecting a network drive and disconnecting a default network drive when at home.

However, it seems that almost everything I install has problems that are not explicit installation problems. Ruby, Git, and Python all install, but have problems.

The latest incarnation is the installation of Git. It was installed perfectly, but when I tried to create a new directory, it gave me the following error:

error: could not lock config file H: \ /. gitconfig: No such file or directory
error: could not lock config file H: \ /. gitconfig: No such file or directory
    while executing
"exec {C: / Program Files / Git / libexec / git-core / git-config.exe} --global --add gui.recentrepo C: / Users / myname / Desktop / Testing / projects"
    ("eval" body line 1)
    invoked from within

YET ... it still adds files to the Git folder. This did not allow me to discover what I just created.

I am looking for a fix for my .git problem, but I am really looking for a key to the magic bullet on this basic problem on the net, which is still the main obstacle to making progress in my learning experience.

Thank you for your help.

+4
1
error: could not lock config file H:\/.gitconfig: 

- HOME: , H: \, git .

, , , C:\prgs, senv.
"": , , ( , ).

https://github.com/VonC/senv/archive/master.zip , senv.bat: git, python, ruby .


OP user1525974 , gem.bat:

SET _HOMEDRIVE=%HOMEDRIVE% 
SET _HOMEPATH=%HOMEPATH% 
SET HOMEDRIVE=C:
SET HOMEPATH=/Ruby193 
+1

All Articles