I have uploaded some files to a directory under public and I try to access them using Dir.glob. But I get no results back.
The Dir.glob works fine on dev server (mongrel) and also works fine when using script/console on the site installed on site5
is there a way to get this working or a different way to get the list of files?
My guess is that executing a shell is prohibited by site5 or that you don’t have access to /bin/sh. Globbing is generally implemented by running a shell… Try