Here is a simple function to help with Capistrano deployment when using passenger.
It should write the txt file to restart mod_rails.
Just make sure that the release_path connects to your current build.
desc "Reload Pasenger"
task :reload_passenger do
run "touch #{release_path}/tmp/restart.txt"
end