Hello everyone!
I’m thinking of the right way to store tmp/ directory of Rails 1.1
project in Subversion. It has cache, session and sockets
subdirectories. To me, it looks good to have
svn delete tmp/*
svn propset svn:ignore “*” tmp
So it will ignore all directories and files in tmp/. Even if you
create sessions/ and put some files in it, tmp/ content is still
ignored.
But I’m not sure whether it is safe to assume that Rails will recreate
(at least in Webrick I run they are recreated on start-up) these
cache/ sessions/ and sockets/ directories in future? Is is safe to
remove them?
The second way is to set svn:ignore 4 times, and it is not safe, if
more directories will be introduced in future.
svn propset svn:ignore “" tmp
svn propset svn:ignore "” tmp/cache
svn propset svn:ignore “" tmp/sessions
svn propset svn:ignore "” tmp/sockets
What do you think of it? What is your experience with non-webrick
deployment?
Peace,
olegf