search for: cp_dispatch_fcgi

Displaying 1 result from an estimated 1 matches for "cp_dispatch_fcgi".

2006 Jan 16
1
switchtower custom tasks question.
...custom tasks and have those tasks run at deployment. 1) copy a working dispatch.fcgi from another folder, and 2) copy db/database.example to db/database.yml here is what i''ve tried, inside of deploy.rb: # custom tasks desc "copy another dispatch.fcgi, which gets deleted" task :cp_dispatch_fcgi do File.copy("/path/to/other_app/public_html/dispatch.fcgi", "/path/to/current/public/dispatch.fcgi") end desc "copy database.example to database.yaml" task :cp_database_yaml do put(File.read(''/path/to/current/db/database.example''), "/path/t...