IOError “Access is denied” installing gem using netbeans
October 19th, 2009
1 comment
Well I got this trying to install gem using Netbeans on Windows:
"ERROR: While executing gem … (IOError) Access is denied"
It cost me ours to figure out what was the problem. Netbeans was trying to write to local ruby gems directory which is likely to on the system disk and is protected by Windows. The solution is simple:
Just run Netbeans “As Administrator”. I suppose you know how to do this since many program would have similar problem. In the case you are not sure, please right click you Netbeans startup icon and choose “Run as administrator” on the dialog.
Categories: Uncategorized