我无法通过 GVM 安装 Grails。我通过GVM 网站上的说明安装了 GVM ,并且它似乎已正确安装 - 重新启动终端并运行gvm help
会生成一个可能的命令列表。但是,当我去安装 Grails(或 Groovy)时,我在终端中得到以下输出:
$ gvm install grails
Downloading: grails 2.3.2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (1) Protocol [http not supported or disabled in libcurl
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /Users/neilpoulin/.gvm/archives/grails- 2.3.2.zip or
/Users/neilpoulin/.gvm/archives/grails-2.3.2.zip.zip, and cannot find /Users/neilpoulin/.gvm/archives/grails-2.3.2.zip.ZIP, period.
Stop! The archive was corrupt and has been removed! Please try installing again.
我查看以确保找到 zip、unzip 和 curl:
$ which zip
/usr/bin/zip
$ which unzip
/usr/bin/unzip
$ which curl
/usr/bin/curl
在此之前,我对 Grails/Groovy 所做的唯一事情就是执行 Grails 网站上包含的示例项目 - http://grails.org/learn > step 2。
我在这里想念什么?libcurl
我需要更改一些配置吗?任何帮助深表感谢!