I have been wrestling with capistrano and git, when I ran the following I got an error:
$ cap deploy:checkcould not find any SCM named `git'
I ran 'which git' by hand on both my local box and remote box.
on the remote box:
$ which git/usr/local/bin/git
on the local box:
$ which git/usr/local/git/bin//git
not sure what the issue was, but I tried to set the following in my deploy.rb without success:
set :local_scm_command, "/usr/local/git/bin/git"set :scm_command, "/usr/local/bin/git"
ultimately, my fix was to uninstall and reinstall git on my local machine.
now on the local box:
$ which git/usr/local/bin/git
now
$ cap deploy:checkYou appear to have all necessary dependencies installed
No comments:
Post a Comment