Forum: Rails deployment Serving static subdirectories

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
jcontonio (Guest)
on 2007-05-21 23:03
(Received via mailing list)
A client of mine wants to put a friends site up at blah.com/blah/

How should I go about setting that up when I blah.com is a rails app
managed by Capistrano and served via mongrel/apache?

Just add the blah folder in the public folder? That will be a pain
when I use cap no?
John Nunemaker (Guest)
on 2007-05-22 19:46
(Received via mailing list)
As far as cap goes, that shouldn't be a pain. Just put everything in
shared/blah and symlink  like so:

task :after_symlink do
  run "ln -nfs #{shared_path}/public/blah #{release_path}/public/blah"
end

Does that make sense?
This topic is locked and can not be replied to.