Try after "deploy:finalize_update", :symlink_shared_stuff
On Mon, May 5, 2008 at 3:23 PM, Xdmx Xdmx <[EMAIL PROTECTED]> wrote: > > Hi, i'm setting up capistrano, but i've a "little" problem to run a > custom task after the finalize_update, or after the symlink task. > Actually i've this in my deploy.rb > > ---- > after :finalize_update, :symlink_shared_stuff > > desc "Symlink the folders and files" > task :symlink_shared_stuff, :roles => [:app, :web] do > run "ln -nfs #{shared_path}/upload #{current_path}/upload" > run "ln -nfs #{shared_path}/system/database.yml > #{current_path}/config/database.yml" > end > ---- > > But it does never be run. What's wrong ? > The problem is that without the db config everything goes wrong when > capistrano try to run the migrations (rake aborted: no db.yml file > found) > Thanks > -- > Posted via http://www.ruby-forum.com/. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---