Friday, October 26, 2007

capistrano deployment error 'Errno::EACCES: Permission denied - /.ssh'

If you are using a Mac with Tiger and are having an error with capistrano deployment such as:

[deploy:update_code] exception while rolling back: Capistrano::ConnectionError, connection failed for: localhost (Errno::EACCES: Permission denied - /.ssh)

Set your HOME environment variable. i.e. export HOME=/Users/monkeyboy

An hour later, I realized this. Hopefully someone else can find it here.

No comments: