使用 Capistrano 部署:没有这样的文件或目录

发布于 2024-12-19 18:46:51 字数 566 浏览 2 评论 0原文

我试图在我的网站上进行部署,它通常连接到我的服务器,但控制台显示错误:C:/Ruby192/lib/ruby/gems/1.9.1/gems/capistrano-2.9.0/ lib/capistrano/recipes/deploy.rb:106in ``´: 没有这样的文件或目录 - git ls-remote [email protected]:repo/site.git HEAD

有一个打印: Capistrano Error

我花了很多时间寻找解决方案,很多人都遇到了同样的问题,他们只是在 MINGW32 上使用 cap 部署但这对我不起作用。

Ps:这是我第一次使用 capistrano 进行部署,所以我想请您考虑一下我可能忘记的每一件小事,等等。

非常感谢!

I'm trying to make a deploy at my web site and it normally connects on my server, but the console shows the error: C:/Ruby192/lib/ruby/gems/1.9.1/gems/capistrano-2.9.0/lib/capistrano/recipes/deploy.rb:106in ``´: No such file or directory - git ls-remote [email protected]:repo/site.git HEAD

There's a print:
Capistrano Error

I've spent much time searching for solutions, many people had this same issue and they just used cap deploy on MINGW32 but it doesnt work to me.

Ps: It's the first time i'm making a deploy with capistrano, so i would ask for please, to consider every little thing that i could forget, etc.

Thanks a lot!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

骄兵必败 2024-12-26 18:46:51
  1. 检查远程服务器上是否安装了git
  2. 检查git的路径是否在PATH环境变量中
  1. check if git is installed on your remote server
  2. check if path to git is in PATH environment variable
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文