i'm not sure if this x64 specific, but today i received the
Update for Rights Management Services Client for Windows 7 for x64-
based Systems (KB979099) Patch
via Windows Update.
After installation it was not possible to install gems anymore, i
always received this error:
gem install nokogiri
ERROR: While executing gem ... (Errno::EEXIST)
File exists - C:
I deinstalled the update and everything is working flawless as before.
Cheers,
Thore
Hello,
This is similar to the report here:
http://groups.google.com/group/rubyinstaller/browse_thread/thread/f79c24cbca7bb37b
Did you upgrade from Windows Vista in the past?
I can't try and look for that update since I'm running RC1 of Windows
7 x64. Still waiting for my final copy of Pro version.
Can you try the following inside a irb session?
irb(main):001:0> File.exists?("C:/Windows")
=> true
irb(main):002:0> File.directory?("C:/Windows")
=> true
irb(main):003:0> Dir.mkdir("C:/foo")
=> 0
irb(main):004:0> require 'fileutils'
=> true
irb(main):005:0> FileUtils.touch("C:/foo/bar")
=> ["C:/foo/bar"]
And then check these files really exist:
C:\Users\Luis>dir C:\
C:\Users\Luis>dir C:\foo
Thank you.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
I also got the same error. Since on my Mac I run gem updates using
sudo, I tried running the Console as administrator and it allowed the
gem update to work.
-robb
Please see the separated thread about the permission issue:
http://groups.google.com/group/rubyinstaller/browse_thread/thread/df7b7c217ad7d882
If you can perform the fix described here:
http://support.microsoft.com/kb/970789