I wonder what's the best deployment directory for Rails apps? Some developers use directories such as /u/apps/#{appname}
. Are there any advantages when using /u/apps/#{appname}
instead of /var/www/#{appname}
or other OS default directories?
Obviously I want to pick the directory with the best security properties and the least friction for setting up the server environment.
How do you deploy your Rails apps? Why are you using a specific directory? Do you think it really matters anyway?