首次使用Capistrano部署Ruby on Rails应用时遇到了哪些难题?

更新于
2026-10-09 23:28:31
1阅读来源:SEO基础
  • 内容介绍
  • 文章标签
  • 相关推荐

本文共计242个文字,预计阅读时间需要1分钟。

首次使用Capistrano部署Ruby on Rails应用时遇到了哪些难题?

我在使用Capistrano部署Rails应用时遇到了问题。终端返回的错误信息如下:`victor$ cap deploy * executing 'deploy' * executing 'deploy:update' ** transaction: start * executing 'deploy:update_code' executing l`

我试图通过Capistrano部署Rails应用程序但是遇到了问题.在终端中返回的消息如下:

首次使用Capistrano部署Ruby on Rails应用时遇到了哪些难题?

victor$cap deploy * executing `deploy' * executing `deploy:update' ** transaction: start * executing `deploy:update_code' executing locally: "git ls-remote git@github.com:victory/PUM.git HEAD" /Library/Ruby/Gems/1.8/gems/capistrano-2.5.19/lib/capistrano/recipes/deploy.rb:98: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777 /Library/Ruby/Gems/1.8/gems/capistrano-2.5.19/lib/capistrano/recipes/deploy.rb:98: command not found: git ls-remote git@github.com:victory/PUM.git HEAD *** [deploy:update_code] rolling back * executing "rm -rf /passenger/nginx/pumpl/releases/20101020025555; true" servers: ["188.126.236.269"] Password:

我尝试进行谷歌搜索,但在找到一个好答案时遇到了一些麻烦

看起来你的远程安装缺乏git.
你试过做过吗?

cap deploy:check

检查环境和

cap deploy:setup

要设置所需的文件?

本文共计242个文字,预计阅读时间需要1分钟。

首次使用Capistrano部署Ruby on Rails应用时遇到了哪些难题?

我在使用Capistrano部署Rails应用时遇到了问题。终端返回的错误信息如下:`victor$ cap deploy * executing 'deploy' * executing 'deploy:update' ** transaction: start * executing 'deploy:update_code' executing l`

我试图通过Capistrano部署Rails应用程序但是遇到了问题.在终端中返回的消息如下:

首次使用Capistrano部署Ruby on Rails应用时遇到了哪些难题?

victor$cap deploy * executing `deploy' * executing `deploy:update' ** transaction: start * executing `deploy:update_code' executing locally: "git ls-remote git@github.com:victory/PUM.git HEAD" /Library/Ruby/Gems/1.8/gems/capistrano-2.5.19/lib/capistrano/recipes/deploy.rb:98: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777 /Library/Ruby/Gems/1.8/gems/capistrano-2.5.19/lib/capistrano/recipes/deploy.rb:98: command not found: git ls-remote git@github.com:victory/PUM.git HEAD *** [deploy:update_code] rolling back * executing "rm -rf /passenger/nginx/pumpl/releases/20101020025555; true" servers: ["188.126.236.269"] Password:

我尝试进行谷歌搜索,但在找到一个好答案时遇到了一些麻烦

看起来你的远程安装缺乏git.
你试过做过吗?

cap deploy:check

检查环境和

cap deploy:setup

要设置所需的文件?