Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>Update 13 July 2010</strong></p> <p>It is very likely that this problem is caused by installation of E Text Editor on Windows 7. In order to provide compatibility with TextMate on Windows, E automatically installs Cygwin. During installation a bash script is run which tries to modify permissions on C:. Here's the line:</p> <pre><code>chmod o-w `cygpath $HOMEDRIVE` </code></pre> <p>Apparently when Cygwin sets permissions, it is making a mess of the Windows ACL permissions. In order to protect the integrity of the system root drive, Windows UAC does something known as Virtualization or Data Redirection. <a href="http://windowsteamblog.com/windows/b/developers/archive/2009/08/04/user-account-control-data-redirection.aspx" rel="noreferrer">More info here</a>. In our case, instead of messing up the permissions on the real root directory, Virtualization kicks in and corrupts permissions on the VirtualStore (%localappdata%\VirtualStore) directory instead, making its root inaccessible (although any directories within remain untouched and accessible). When Ruby installs gems it tries to access the root C:\ directory, which UAC disallows, so it tries to access %localappdata%\VirtualStore, which it can't if you have corrupt permissions, thus you get the failure.</p> <p>You can fix this by removing the bad permissions from VirtualStore (you'll need to unhide protected system files in Explorer to see VirtualStore). The correct permissions should inherit from the parent folder and should be:</p> <pre><code>SYSTEM (full control) *your users* (full control) Administrators (full control) </code></pre> <p>Here's a gist comparing the broken permissions vs the correct permissions:</p> <p><a href="http://gist.github.com/471087" rel="noreferrer">http://gist.github.com/471087</a></p> <p>The author of E is aware of this problem and working on a fix.</p> <hr> <p>This seems to be a weird permissions error that is apparently only occurring on Windows 7. Try opening an elevated command prompt and installing from there. Here's what I get when elevated:</p> <pre><code>[C:\Users\charlesr]gem install activeldap Successfully installed activeldap-1.2.2 1 gem installed Installing ri documentation for activeldap-1.2.2... Installing RDoc documentation for activeldap-1.2.2... </code></pre> <p>If I run from a standard command prompt, I get this:</p> <pre><code>[C:\Users\charlesr]gem install activeldap ERROR: While executing gem ... (Errno::EEXIST) File exists - C: </code></pre> <p>I'll update this answer if a better solution comes to light. It never has been a requirement to elevate when installing gems on Windows and so the behaviour we're seeing here is wrong.</p> <p>There is a discussion related to this issue here: <a href="http://groups.google.com/group/rubyinstaller/browse_thread/thread/df7b7c217ad7d882" rel="noreferrer">http://groups.google.com/group/rubyinstaller/browse_thread/thread/df7b7c217ad7d882</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload