tags:

views:

22

answers:

1

not sure if it matters that I run the code from haml

this line works nicely

- files = Dir['*']

but here I suspect the spaces in the path....

- files = Dir["C:\Program Files\TestPro\TestPro Automation Framework410\Output Files\builds\*.xml"]
+1  A: 

most unicode style strings use escape character \ but windows allows both \ and / for path declarations.

- files = Dir["C:/Program Files/TestPro/TestPro Automation Framework410/Output Files/builds/*.xml"]
Gabriel
didn't help :-(
Radek
`- files = Dir["C:/Program Files/TestPro/TestPro Automation Framework410/Output Files/builds/*.xml"]` is the answer
Radek