Ruby 1.9.3在Cygwin中安装失败

Ruby 1.9.3在Cygwin中安装失败,cygwin,Cygwin,(操作系统:Windows 7) 当我尝试在cygwin中安装带有rvm的ruby时,出现以下错误: make[1]: Entering directory '/home/Mu7r6l8/.rvm/src/ruby-1.9.3-p448' make[1]: exts.mk: No such file or directory make[1]: *** No rule to make target 'exts.mk'. Stop. make[1]: Leaving directory '/hom

(操作系统:Windows 7)

当我尝试在cygwin中安装带有rvm的ruby时,出现以下错误:

make[1]: Entering directory '/home/Mu7r6l8/.rvm/src/ruby-1.9.3-p448'
make[1]: exts.mk: No such file or directory
make[1]: *** No rule to make target 'exts.mk'.  Stop.
make[1]: Leaving directory '/home/Mu7r6l8/.rvm/src/ruby-1.9.3-p448'
uncommon.mk:178: recipe for target 'build-ext' failed
make: *** [build-ext] Error 2

由于这个原因,我无法在Cygwin中继续Ruby安装。

如果您想为Cygwin安装Ruby,您应该通过
setup.exe
使用Cygwin
Ruby
软件包进行安装。我知道这一点。我试过了。但是根据我的项目设置,我需要使用RVM来安装ruby。Cygwin Ruby软件包包括特定的构建说明和一些补丁,所有这些都是可用的。由于不熟悉RVM,我不确定是否可以将其纳入其中;恐怕我们不支持以任何其他方式构建Ruby。仅供大家参考。试图通过
rbenv安装
编译Ruby 2.1.5。编译一段时间后失败,出现了一条消息:``编译rat.c安装默认rational库printf.c:31:1:error:utoa'utoa的类型冲突(char*p,char*e,unsigned int x)^``我想编译好需要付出巨大的努力,所以我坚持使用移植版本(到目前为止为2.0.0),正如雅科夫所建议的那样。
make[1]: Entering directory '/home/Mu7r6l8/.rvm/src/ruby-1.9.3-p448'
make[1]: exts.mk: No such file or directory
make[1]: *** No rule to make target 'exts.mk'.  Stop.
make[1]: Leaving directory '/home/Mu7r6l8/.rvm/src/ruby-1.9.3-p448'
uncommon.mk:178: recipe for target 'build-ext' failed
make: *** [build-ext] Error 2