Mongrel and application's public path problem

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs