Permissions error when trying to run Ruby

Bev's Avatar


27 May, 2010 03:42 PM

I am having a permissions problem which no one else on the developement team is having and no one knows how to fix it. I had talked with the IT department and they checked a couple of things and said it was not a standard Windows NTFS permissions error and they felt that it was an application permission issue.

I am new to Ruby, so I do not know much.

I have a dirctory c:\Workspaces\Watir Testing\bin which has the script login.rb. I have another directory c:\Workspaces\Watir Testing\test_scripts which has the script CustomerSetup1.rb.

The CustomerSetup1.rb script is the one I need to run to run the test and it calls the login.rb script.

When I go to the directory c:\Workspaces\Watir Testing\test_scripts and type "c:\Ruby\bin\ruby -l ..\bin CustomerSetup1.rb", I get the following message "c:\Ruby\bin\ruby: Permission denied -- ../bin (LoadError)".

I don't understand why I don't have permissions to access a directory on my PC.

Does anyone have any ideas on how to fix this issue?



  1. 1 Posted by John Barnette on 27 May, 2010 03:47 PM

    John Barnette's Avatar

    This is a question about Ruby, not RubyGems. Please ask on ruby-talk or one of the Ruby forums, not on

  2. John Barnette closed this discussion on 27 May, 2010 03:47 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