1

自从更新到 Catalina,我在部署所有站点时遇到了一些实际问题。这如果是第一个问题。

当我想将我的本地站点推送到 uat(暂存)时,我运行cap uat deploy branch=release/4.0.0并且它通常(在更新之前)运行并将我的所有更改推送到我的 uat 站点。

相反,我收到以下错误,无论我尝试什么,我似乎都无法摆脱它:

zsh: /usr/local/bin/cap: bad interpreter: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: no such file or directory

我花了太长时间试图解决这个问题,但我真的无法接受一些指导。如果有人可以提供帮助,我将不胜感激!

更新:

部署现在运行,但是它失败了,我现在有以下错误:

...

(Backtrace restricted to imported tasks)
cap aborted!
TypeError: no _dump_data is defined for class Enumerator

Tasks: TOP => rsync:create_release => rsync:release
(See full trace by running task with --trace)
The deploy has failed with an error: no _dump_data is defined for class Enumerator

** DEPLOY FAILED
** Refer to log/capistrano.log for details. Here are the last 20 lines:

INFO [48d8ce56] Finished in 0.110 seconds with exit status 0 (successful).

DEBUG [5fe5c207] Running [ -f /home/xxxx/capistrano_uat/shared/.htaccess ] as xxxx@xxx.xxx.xx.xx

DEBUG [5fe5c207] Command: [ -f /home/xxxx/capistrano_uat/shared/.htaccess ]

DEBUG [5fe5c207] Finished in 0.110 seconds with exit status 0 (successful).

DEBUG [91d12373] Running [ -f /home/xxxx/capistrano_uat/shared/wp-config.php ] as xxxx@185.xxx.xx.xx

DEBUG [91d12373] Command: [ -f /home/xxxx/capistrano_uat/shared/wp-config.php ]

DEBUG [91d12373] Finished in 0.110 seconds with exit status 0 (successful).

DEBUG [eed79024] Running [ -f /home/xxxx/capistrano_uat/shared/awards-winner.png ] as xxxx@xxx.xxx.xx.xx

DEBUG [eed79024] Command: [ -f /home/xxxx/capistrano_uat/shared/awards-winner.png ]

DEBUG [eed79024] Finished in 0.109 seconds with exit status 0 (successful).

DEBUG [8bb292a4] Running [ -f /home/xxxx/capistrano_uat/shared/rar-recommended.png ] as xxxx@xxx.xxx.xx.xx

DEBUG [8bb292a4] Command: [ -f /home/xxxx/capistrano_uat/shared/rar-recommended.png ]

DEBUG [8bb292a4] Finished in 0.110 seconds with exit status 0 (successful).

DEBUG [134b2ada] Running [ -f /home/xxxx/capistrano_uat/current/REVISION ] as xxxx@xxx.xxx.xx.xx

DEBUG [134b2ada] Command: [ -f /home/xxxx/capistrano_uat/current/REVISION ]

DEBUG [134b2ada] Finished in 0.109 seconds with exit status 0 (successful).

DEBUG [b142445e] Running /usr/bin/env cat /home/xxxx/capistrano_uat/current/REVISION 2>/dev/null as xxxx@xxx.xxx.xx.xx

DEBUG [b142445e] Command: /usr/bin/env cat /home/xxxx/capistrano_uat/current/REVISION 2>/dev/null

DEBUG [b142445e]     a61943df88d68ca6309b1886c140d86bad68ac59

DEBUG [b142445e] Finished in 0.116 seconds with exit status 0 (successful).

4

0 回答 0