I\'m running into an issue using xsendfile with my Rails 3 app.
I\'m using capistrano to manage deployments and in each release, there is a symbolic link to the shar
Are you creating the link using an after "deploy:finalize_update"
task similar to this:
task :storage_link, :except => { :no_release => true } do
run "ln -nFs #{deploy_to}/shared/assets #{latest_release}/assets"
end
This makes XSendFilePath see the link as /var/www/site/current/assets
which puts it inside of the root path.
Also make sure the user running your app owns and has write permissions on /var/www/site/shared/assets.