Placing a rails app in a subdir (capistrano)

I want to deploy my rails app in a subdir, lets say:

http://a.com/b/c/ (so: http://a.com/b/c/posts/new)

for as far as i understand no i’ll have to

  1. prefix my routes with “b/c/”
  2. prefix the javascript and stylesheets paths with “b/c/” in my layouts

i can think of numerous ways to make me only have to set the prefix in
one place, yet i wonder if there is no default way to set this up in
rails.

i dont want to use capistrano (yet), but i’m also interested how
capistrano would deal with this ‘problem’.

thanks,
_cies.


“Computer games don’t affect kids; I mean if Pac-Man affected us as
kids, we’d all be running around in darkened rooms, munching magic
pills and listening to repetitive electronic music.” – Kristian
Wilson (Nintendo, Inc), 1989