> namespace :deploy do > task :before_symlink do > run "ln -fs #{shared_path}/index #{release_path}/index" > end > end > > (I know, this the old callbacks syntax with Cap 2, I was experencing > problems with the new syntax and haven't retried since then. I'll have > to.)
Here is how to do that with the new style of callbacks in Cap 2 task :symlink_index do run "ln -fs #{shared_path}/index #{release_path}/index" end before 'deploy:symlink', :symlink_index -- 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 -~----------~----~----~----~------~----~------~--~---