472,119 Members | 1,633 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

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 13293
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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.