0
我有一些麻煩,執行與capistrano v3 phing腳本。Capistrano和Phing
這是我到目前爲止。
desc 'build'
task :build do
on roles(:web) do
within release_path do
execute "cd", "#{release_path}/build", "&&", "phing build"
end
end
end
after :updated, 'deploy:build'
結果:
INFO [d4208b76] Running /usr/bin/env cd /var/www/capistrano/simform/releases/20131208111121/build && phing build on localhost
DEBUG [d4208b76] Command: cd /var/www/capistrano/simform/releases/20131208111121 && /usr/bin/env cd /var/www/capistrano/simform/releases/20131208111121/build && phing build
DEBUG [d4208b76] /usr/bin/env:
DEBUG [d4208b76] cd
DEBUG [d4208b76] : No such file or directory
DEBUG [d4208b76]
cap aborted!
cd stdout: Nothing written
cd stderr: Nothing written
爲什麼我得到: 「沒有這樣的文件或目錄」?