Mongrel and application's public path problem


#1

Hi all,

Im trying to fix a path problem. My app was developed while using
fastcgi. When I did FileUtils.mkdir it created a new directory under the
public directory in my application.

Now in production we use mongrel + mongrel_cluster, BUT the directory is
created in the application’s directory in “/usr/websites/myapp” instead
of “/usr/websites/myapp/public”.

What do I have to do to fix this?

Petr