469,342 Members | 6,455 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,342 developers. It's quick & easy.

Problems running gem install rails...

1
Hi trying to install rails, but get this error...

C:\ruby>gem install rails --include-dependencies

ERROR: While executing gem ... (Errno::EACCES)
Permission denied - c:/ruby/bin/rails

Can anyone help?

OS is Vista.

JamesR
Dec 11 '07 #1
3 13078
I just had the same issue on Vista. When running things via the command line, you need to run them as administrator even if your account is an administrative account.

When expecting to install things via the command line, just to goto the Vista Start Search Edit box, type 'cmd' and instead of hitting 'enter', hit cntr+shift+enter to launch it with admin privaliges.

No problems installing after that.

Best of luck

Hi trying to install rails, but get this error...

C:\ruby>gem install rails --include-dependencies

ERROR: While executing gem ... (Errno::EACCES)
Permission denied - c:/ruby/bin/rails

Can anyone help?

OS is Vista.

JamesR
Dec 21 '07 #2
Great, Thanks for this instruction. I figured it had something to do with the rights of my account (even if I am administrator).

It worked!!

Per-Olof
Dec 13 '09 #3
Moe1
1
Thnx a lot , it is finally working ...
Feb 19 '10 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Justin Lemkul | last post: by
2 posts views Thread by Glenn | last post: by
5 posts views Thread by Frances | last post: by
3 posts views Thread by Jason Madison | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by haryvincent176 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.