Capifony 无法下载作曲家 - 不遵循重定向 [英] Capifony can't download composer - not following redirect

查看:22
本文介绍了Capifony 无法下载作曲家 - 不遵循重定向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I'm using Capifony to deploy my Symfony2 application, but as of today it can't download composer - jenkins output:

[32m--> Downloading Composer[0m
* executing "sh -c 'cd /data/www/testing/s00110/releases/20150426161117 && curl -s http://getcomposer.org/installer | php'"
servers: ["*domain*"]
[*domain*] executing command
** [out :: *domain*] <html>
** [out :: *domain*] <head><title>302 Found</title></head>
** [out :: *domain*] <body bgcolor="white">
** [out :: *domain*] <center><h1>302 Found</h1></center>
** [out :: *domain*] <hr><center>nginx</center>
** [out :: *domain*] </body>
** [out :: *domain*] </html>
command finished in 46ms

It seems composer moved their installer to https and Capifony isn't following the redirect. Is there an option to tell capifony where to download composer from?

解决方案

A new version of Capifony, version 2.8.5, has been released a couple of hours ago, which fixes this issue.

Updating to 2.8.5 should solve your problems with the Composer download.

这篇关于Capifony 无法下载作曲家 - 不遵循重定向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆