Hey, thanks for your help so far.
I've added the following to my deploy.rb:
set :repositroy, "~/git/#{application}/"
set :local_repository, "#{us...@#{domain}:/home/#{user}/git/
#{application}"
but now receive the following error: http://pastie.org/875081
cheers,
On Mar 17, 12:45 am, Lee Hambley <[email protected]> wrote:
> Unless the server can SSH into itself (unlikely) you need to use the split
> repository variables....
>
> set :repositroy, ''~/git/myApp/"
> set :local_repository, "myusern...@mydomain:/home/myUserName/"
>
> Your workstation will use the latter to connect to retrieve the HEAD; and
> remote commands will use the :repositroy -- not very intuitive, I know.
>
> You may also want to look up the difference between `bare` and `working
> copy` repositories [1]; if your server is hosting a bare one, it should be
> named "MyApp.git" to signify that; some tools care, and it's confusing for
> anyone that helps you. (on the git front!)
>
> --
> [1] -http://toolmantim.com/thoughts/setting_up_a_new_remote_git_repository
>
> -- Lee Hambley
>
> Twitter: @leehambley | @capistranorb
--
* You received this message because you are subscribed to the Google Groups
"Capistrano" 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/capistrano?hl=en