On 5/20/07, John Baylor <[EMAIL PROTECTED]> wrote: > > I'm trying to use capistrano (v1.99.0) for the first time (on dreamhost, > if that matters) and the deploy:symlink task is creating an unusable > symlink. > ln -nsf deploy_dir/releases/20070520055816/ deploy_dir/current > appears to work, but "ls -al deploy_dir/current/" yields "No such file or > directory"
The first path in the LN cmd should be an absolute path, otherwise you're in for some surprise down the road. It can be a relative path if you use it in a safe way like your workaround: However, if I cd into deploy_dir and then do > ln -nsf releases/20070520055816/ current > the symlink works great. Still, if "deploy_dir" was an absolute path in the first place then I can't guess what might have been the problem. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
