ruby gem安装zlib支持时报错
make: *** No rule to make target `/include/ruby.h', needed by `zlib.o'. Stop.
解决办法:
vim /tools/ruby-2.5.1/ext/zlib/Makefile
在文件开头添加变量:
top_srcdir=../../
ruby gem安装zlib支持时报错
make: *** No rule to make target `/include/ruby.h', needed by `zlib.o'. Stop.
解决办法:
vim /tools/ruby-2.5.1/ext/zlib/Makefile
在文件开头添加变量:
top_srcdir=../../