Try this in your deploy.rb ssh_options[:forward_agent] = true default_run_options[:pty] = true
понедельник, 8 октября 2012 г., 18:18:39 UTC+3 пользователь Mandy написал: > > Hello to all! > > I am getting following error while running cap deploy in terminal. > > $ cap deploy > * executing `deploy' > * executing `deploy:update' > ** transaction: start > * executing `deploy:update_code' > executing locally: "git ls-remote [email protected]:megha55/mysite.git > master" > command finished in 4912ms > * executing "git clone -q [email protected]:megha55/mysite.git > /u/apps/mysite/releases/20121008150536 && cd > /u/apps/mysite/releases/20121008150536 && git checkout -q -b deploy > d8c68e8142039f19b36669692144825715bc129a && (echo > d8c68e8142039f19b36669692144825715bc129a > > /u/apps/mysite/releases/20121008150536/REVISION)" > servers: ["simak"] > Password: > [simak] executing command > ** [simak :: out] fatal: could not create work tree dir > '/u/apps/mysite/releases/20121008150536'.: Permission denied > command finished in 240ms > *** [deploy:update_code] rolling back > * executing "rm -rf /u/apps/mysite/releases/20121008150536; true" > servers: ["simak"] > [simak] executing command > command finished in 9ms > failed: "sh -c 'git clone -q [email protected]:megha55/mysite.git > /u/apps/mysite/releases/20121008150536 && cd > /u/apps/mysite/releases/20121008150536 && git checkout -q -b deploy > d8c68e8142039f19b36669692144825715bc129a && (echo > d8c68e8142039f19b36669692144825715bc129a > > /u/apps/mysite/releases/20121008150536/REVISION)'" on simak > > I also gave permissions to this application but still having same error. > Please help me to solve this error. > > > -- > Mandeep Kaur > http://mandeepsimak.wordpress.com/ > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/cx_aStpl0_YJ. For more options, visit https://groups.google.com/groups/opt_out.

