Calling "public" directory a different name?


I have the opportunity to start using Rails at work in a legacy
environment. The one catch is that the “public” directory has to be
called “share”. Is this possible in a Rails app?

The code is kept in CVS which doesn’t version symbolic links as far as
I know. And I can’t require creating a symbolic link after each
checkout because it isn’t just me working on the code.

I would like to use mongrel if possible but if I can only rename
“public” with webrick that would be fine too. I’m trying to escape the
hell of legacy. Always at least one catch.

Any suggestions greatly appreciated.


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