[Uw-ruby] Application error (Rails) while cap deploy

Steve Dame steve at vdsp.com
Thu Mar 13 21:51:19 PST 2008


When hurrying to close up class last night I stuck in the two tasks in 
deploy.rb to fix the missing paths and symlinks needed for our project 
on the instance.

The following is the deploy.rb file. 

set :application, "uwrailstodo-read-only"
set :repository,  "http://uwrailstodo.googlecode.com/svn/trunk/"

set :deploy_to, "/var/local/#{application}"
set :use_sudo, false

role :app, "root at ec2-67-202-18-119.compute-1.amazonaws.com" #app
role :web, "root at ec2-67-202-18-119.compute-1.amazonaws.com" #web
role :db, "root at ec2-67-202-18-119.compute-1.amazonaws.com", :primary => true

task :setup do
  transaction do
    symlink
  end
end

task :symlink do
  on_setup { run "mkdir -p /var/local/uwrailstodo-read-only/shared/pids; 
mkdir -p /var/local/uwrailstodo-read-only/shared/log" }
end

Does anyone know why or how to debug the message that pops up on the 
browser  "Application error (Rails)"

-- 
Stephen Dame
President/CEO
Virtual DSP Corporation
4119 125th St SE
Everett, WA 98208
Tel 425.379.8888
Fax 425.357.0567
http://www.virtual-dsp.com



More information about the Uw-ruby mailing list