Ruby on Rails通过Capistrano首次部署应用程序时遇到问题,该如何解决?
- 内容介绍
- 文章标签
- 相关推荐
本文共计242个文字,预计阅读时间需要1分钟。
我在使用Capistrano部署Rails应用时遇到了问题。终端返回的错误信息如下:`victor$ cap deploy * executing 'deploy' * executing 'deploy:update' ** transaction: start * executing 'deploy:update_code' executing 'l'`
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部署Rails应用时遇到了问题。终端返回的错误信息如下:`victor$ cap deploy * executing 'deploy' * executing 'deploy:update' ** transaction: start * executing 'deploy:update_code' executing 'l'`
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
要设置所需的文件?

