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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
40920c2420f2ed4841ff4ed2fc34c99f?d=identicon&s=25 Petr Janda (petrjanda)
on 2009-04-01 02: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?

Petr
This topic is locked and can not be replied to.