This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When running tests in the test runner, if an included file uses Dir.glob(File.join(File.dirname(__FILE__),"*.rb")) { |f| require File.basename(f)} to automatically require all files ina sub directory it fails as the path generated by File.dirname(__FILE__) contains forward & back slahes. This behaviour does not happen in Netbeans 6.1. I have attached a zip file containing a realy dummy project which will help replicate this. Right click on subber.rb & Test. You will see the dirname printed out with a mixture of forward & back slashes. If you only select to run the file rather than test it, which doesn't use the test runner, or run in Netbeans 6.1 you will see the dirname printed out with all forward slashes.
Created attachment 64714 [details] Small dummy project to show the issue
Thanks for the project, I reproduced this on WinXP.
I think this should be fixed now as the problem was likely caused by #181128. I need to test on Win first though.
I confirmed that this is fixed in 6.9.