JRuby installer (install4j) sometimes detects an incorrect user.home under 
VMWare with network drives mounted
-------------------------------------------------------------------------------------------------------------

                 Key: JRUBY-5777
                 URL: http://jira.codehaus.org/browse/JRUBY-5777
             Project: JRuby
          Issue Type: Bug
          Components: Application Error
    Affects Versions: JRuby 1.6.1
         Environment: Host OS is OSX 10.6.6 running Windows 7 x64 SP1 under 
VMWare Fusion 3.0.2
VMWare Fusion is mapping Documents, Desktop and one directory containing a 
development tree
JRE 1.60_25 32-bit
installer was jre-6u25-windows-i586-iftw.exe
            Reporter: Chuck Remes


After installation, the gem env contained a network path "\\vmware-host\Shared 
Folders" which prevented me from installing any gems.

https://gist.github.com/957717

Gem installation resulted in an ENOENT error complaining about the 
aforementioned network path.

https://gist.github.com/957722

After a few hours of searching, I discovered that the 
c:\jruby-1.6.1\.install4j\installation.log file contained a line showing that 
"user.home" was set to the network path instead of the *real* home of 
c:\Users\cremes. I created a new system environment variable HOME and set it to 
c:\Users\cremes and reinstalled. The installer log picked up the correct %HOME% 
value and the gem env was also corrected.

After that minor change, gem installation worked correctly.

It is my assumption that the installer logic used for detecting the HOME 
directory has a flaw. I don't have easily reproducible steps though. It doesn't 
appear to affect all VMWare Fusion environments (on IRC I led another user 
through the steps under VMWare and his installation worked correctly even 
though he did *not* have a %HOME% variable set).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to