[help] Ruby execution on XP machine: Access is denied

  • Thread starter Maurizio Pedriale
  • Start date
M

Maurizio Pedriale

Hello everybody,
I need some help on a strange error I'm getting when I try to execute
ruby from command line.
I recently reinstalled everything on my HP laptop (XP sp3), and I've
also reinstalled ruby (1.8.6 with one-click installer). Since then I'm
unable to launch ruby from the command line, the message I get is
always: "Access is denied".
I tried to check and change security permissions on ruby installation
folder but nothing changed. The strange thing is that with NetBeans
(which is set to use the same ruby interpreter) the execution is fine.

Can anyone help me, please?
 
R

Roger Pack

unable to launch ruby from the command line, the message I get is
always: "Access is denied".

It does sound like a permissions setting, or it sometimes happens when
it tries to delete a file that's in use.
Try copying the ruby folder around, running it.
 
M

Maurizio Pedriale

Roger said:
It does sound like a permissions setting, or it sometimes happens when
it tries to delete a file that's in use.
Try copying the ruby folder around, running it.

Thank you Roger, I checked my firewall software (Comodo) event log and I
found that the executions were always blocked due to security policies.
Everything is fine now.

m.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top