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

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

while trying to run

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.