Ruby on Rails Installation Error: Permission denied

Jiri's Avatar


06 Aug, 2013 03:34 PM

I am new to RoR so I can't figure out what's wrong. After running the windows installer2.0.0 I issued the command gem install rails (as I was supposed to do) and got the following error message:

ERROR: Could not find a valid gem 'rails' (>= 0), here is why:
          Unable to download data from - Errno::EACCES: Pe
rmission denied - connect(2) (

Ruby was suddessfully instaled in the c:/ruby -200-x64 folder bat the installation of Rails failed.

Who ca give me a hint as to what to do next?


  1. Support Staff 1 Posted by Nick Quaranto on 06 Aug, 2013 11:39 PM

    Nick Quaranto's Avatar

    I've had a lot of luck using to install Ruby (and Rails) if you are having trouble.

    Also I bet you have some kind of firewall/proxy going on, this could help:

  2. Nick Quaranto closed this discussion on 06 Aug, 2013 11:39 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac