Looks OK to me, without knowing more about what you're doing. Can you post more details of the error you're getting?
-Chrisl On Oct 4, 7:30 pm, chris <[EMAIL PROTECTED]> wrote: > I added the following line to the deploy file, but it is failing. I > created the symlink on the server to test if it works and it does, but > when the same command is called by cap it fails. > > To be honest I don't know if where the ln command was inserted is the > proper location or not, but it looked like it should work. I was > unsure of the cap var names ex. shared_path etc, which is why the full > path is listed. > > namespace :localize do > desc "copy shared configurations to current" > task :copy_shared_configurations, :roles => [:app] do > ... > run "ln -fs /var/rails/portfolio/shared/uploads/projects/ /var/ > rails/portfolio/current/public/projects/" > end > end > > Thanks for the help --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
