Thanks for your quick answer Lee,

Here is my config/deploy.rb

Best regards,

N.

require 'bundler/capistrano'
require "delayed/recipes"

set :rails_env, "production"


default_run_options[:pty] = true
set :use_sudo, false


set :user, "myapp" # Linux user
set :application, "myapp"
set :repository,  "https://svn.example.com/private/myapp/trunk";


set :deploy_to, "/var/www/vhosts/myapp.com.au/rails_app"
set :port, "1305"
set :domain, "11.11.11.11"

role :app, domain
role :web, domain
role :db,  domain, :primary => true


set :keep_releases, 4


require "rvm/capistrano" # Load RVM's capistrano plugin.
set :rvm_ruby_string, 'ruby-1.9.2-p290@myapp_rails31'
set :rvm_type, :system


# -- Bundler
# *** Must be defined after :deploy_to and :application
set :bundle_without, [:development, :test, :darwin]
set :bundle_dir, File.join(fetch(:shared_path), 'vendor', 'bundle')
set :bundle_flags,    "--deployment --quiet"

set :scm_command, "/usr/bin/svn"
set :local_scm_command, :default
set :scm_username, 'deploy_myapp'
set :scm_password, proc{Capistrano::CLI.password_prompt("SVN password for 
#{scm_username}:")}


 

-- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/5f592372-dce0-4443-8f4b-7f28b29f9a5c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to