The Joy of Hex

Drunken Monkey Coding Style with a hint of Carlin humor

May 30, 2010 - 1 minute read - Rails Ruby Windows

Ruby Gem tool and Windows 7

While trying to setup the RoR with XAMPP on my windows 7 machine I encoundered an error

1
ERROR:  While executing gem ... (Errno::EEXIST)

while trying to run

1
gem install rails --include-dependencies

Turns out none of the other gem commands worked.

The solution is simple, you need to run the command prompt with elevated privileges (run as admin) to get it to work.