[Capistrano] relative cap symlink

2007-10-19 Thread Nathan Youngman
I have the need for relative symlinks for current/, as per Mike's note on different mount points: http://groups.google.com/group/capistrano/browse_thread/thread/939160cb9fd30e27/b0891aa997f44256?lnk=gstq=relative_path#b0891aa997f44256 currently hacking up a new deploy:symlink task, - nathan.

[Capistrano] Re: relative cap symlink

2007-10-19 Thread Nathan Youngman
# this is what I ended up with, though I don't know that rollback works quite right yet def relative_path(from_str, to_str) require 'pathname' Pathname.new(to_str).relative_path_from(Pathname.new(from_str)).to_s end namespace :deploy do desc Relative symlinks for current/ task :symlink,

[Capistrano] migrate_env behavior

2007-10-18 Thread Nathan Youngman
I thought migrate_env would do exactly what I wanted, which is to use a different RAILS_ENV for the migration (2 users pointing at the same database, but the deploy migration user has greater MySQL privileges than the standard production user). From reading in this group, I see that I actually

[Capistrano] Re: where are the rdocs?

2007-10-17 Thread Nathan Youngman
The super-helpful community makes up for the lack of docs. Thanks guys. --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano

[Capistrano] Errno::ENOENT: No such file or directory - /tmp/502/SSHKeychain.socket

2007-10-17 Thread Nathan Youngman
I am running into an error like this http://groups.google.com/group/ capistrano/browse_thread/thread/de04f810873ac9e0/87d0d2223de29dab? lnk=gstq=SSHKeychain.socket#87d0d2223de29dab while doing a cap deploy:setup (using Capistrano 2.1 on Mac OS X). servers: [dbserver, revelation, james]

[Capistrano] Re: Errno::ENOENT: No such file or directory - /tmp/502/SSHKeychain.socket

2007-10-17 Thread Nathan Youngman
Thanks Jamis, It took me a bit to find where this was set. It is in ~/.macosx/ environment.plist, and since that was the only thing there, I just removed it. I had to restart as well (or at least a log-off) to get rid of the setting. I'm getting a password prompt, but at least it's past that

[Capistrano] Re: where are the rdocs?

2007-10-17 Thread Nathan Youngman
I'm thinking it may be wise to drop back to 1.4.1 while I learn all this. I thought I'd save the eventual conversion of the recipes to 2.x. But the documentation in the Deploying Rails Applications book and the peepcode screencast are on the 1.x. I'm sure the documentation will eventually catch

[Capistrano] where are the rdocs?

2007-10-15 Thread Nathan Youngman
Hi Jamis | all Thanks for all your work on Capistrano 2.1. I'm new to cap, and trying to learn how to set things like a different scm user. While the tutorials on capify are an excellent start, I need more info. When running gem_server locally, I don't get an rdoc link for capistrano. Where can