Connecting Tech Pros Worldwide Help | Site Map

Problems running gem install rails...

Newbie
 
Join Date: Dec 2007
Posts: 1
#1: Dec 11 '07
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
Newbie
 
Join Date: Dec 2007
Posts: 1
#2: Dec 21 '07

re: Problems running gem install rails...


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

Quote:

Originally Posted by JamesR

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

Reply