加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ruby-on-rails – 第一次尝试通过Capistrano部署应用程序,遇到问

发布时间:2020-12-17 01:22:00 所属栏目:百科 来源:网络整理
导读:我试图通过Capistrano部署Rails应用程序但是遇到了问题.在终端中返回的消息如下: victor$cap deploy * executing `deploy' * executing `deploy:update' ** transaction: start * executing `deploy:update_code' executing locally: "git ls-remote git@gi
我试图通过Capistrano部署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

要设置所需的文件?

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读