Forum: Ruby on Rails Mongrel and application's public path problem

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Petr J. (Guest)
on 2009-04-01 04:43
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?

This topic is locked and can not be replied to.