My deploy.rb looks like:

-------------------------------------------------
set :application, "project"
set :repository,  "svn://127.0.0.1/Users/bullet/Documents/SUBVERSION/ 
project"
set :deploy_to,   "/var/www/#{application}"

set :user,     "mongrel"
set :password, "*****"

set :runner,   "mongrel"

set :deploy_via, :copy
default_run_options[:pty] = true
set :scm, :subversion


# Mongrel Cluster
role :app, "10.211.55.6", "10.211.55.7"

# Nginx
role :web, "10.211.55.4"

# MySQL
role :db,  "10.211.55.8", :primary => true
-------------------------------------------------

All these machines are running on a iMac with Parallels.

"cap deploy:setup", "cap:deploy:check", "cap deploy:migrate" and "cap  
deploy" are running without any errors
and I can visit the homepage.

But why are the Rails documents copied to the machine running nginx  
and mysql?
I thought the applications servers were the home of the Rails documents.

Is this the normal behavior?


Thanx

Jochen

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to