What would be a reasonable and logical directory into which to deploy my production Rails apps on a Linux system?
/var/rails <= There's a /var/www so this would be consistent with that pattern. But I.T. guys have complained about stuff in /var before. /home/my_home_dir/rails <= OK, not /var, but I'm not the only developer. Seems like it really ought to be a systemwide location. /home/rails <= I don't know. That just seems weird. /rails <= Seems even weirder.
What is the least astonishing, most normal thing to do here?
(Background info -- a Rails app is a bunch of server side code written in Ruby along with a
public dir is mapped to an Apache vhost. Apache handles the Ruby code through a module called Passenger or
Thanks for the help, all. I think I'm going to go with
/opt/deployed_rails_apps. (I like long, expository directory names, and tab completion.)
/var/... is also a good place, but I've gotten stern grumbling from I.T. when I tried to deploy stuff there. If it were my own machine I might go with