Even a normal command like scp doesn't seem to respond. I replaced git
clone with "scp" so that all the files are copied to my deployment
server. But that also waits for a password prompt and does nothing
after I enter the password.
On Sep 16, 5:02 pm, Subbu <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have integrated Wordpress into my Rails app and both these apps are
> maintained as different git repo's. I have setup Cap to deploy the
> main Rails app and it works fine. But I have an after callback that
> will checkout/clone files from my wordpress repo and deploys to the
> public folder of main Rails app. This doesn't seem to work. Here is my
> log file:
>
> * executing "sudo -p 'sudo password: ' git clone -q
> [EMAIL PROTECTED]:/home/git/wordpress"
> servers: ["xxx.xxx.xxx.xxx"]
> [xxx.xxx.xxx.xxx] executing command
> ** [out :: xxx.xxx.xxx.xxx] [EMAIL PROTECTED]'s password:
> secret%^&
>
> At the last prompt I entered the git password but it's not responding
> at all. It just stays there forever.
>
> Here is my task definition:
>
> desc "Deploy Wordpress"
> task :wp do
> run "cd #{current_path}/public"
> run "rm -rf wp"
> sudo "git clone -q #{wp_repo}"
> end
>
> What could be wrong? I tried replacing sudo with run, clone with
> checkout....nothing is working.
> Thanks
> -subbu
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---