Home > Uncategorized > IOError “Access is denied” installing gem using netbeans

IOError “Access is denied” installing gem using netbeans

October 19th, 2009 Pan Leave a comment Go to comments

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 Tags:
  1. Adam
    July 15th, 2010 at 03:46 | #1

    You are a beautiful person! This probably saved me a lot of time.

  1. No trackbacks yet.
Orange Cabin