Ruby 为什么chefDK包含*.hpp和*.h文件

Ruby 为什么chefDK包含*.hpp和*.h文件,ruby,installation,rubygems,chef-infra,Ruby,Installation,Rubygems,Chef Infra,我注意到当安装chefDK时,它会安装很多*.hpp*.h文件,为什么 /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ffi-1.9.18/ext/ffi_c/AbstractMemory.h ... /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/dep-selector-libgecode-1.3.1/lib/dep-selector-libgecode/vendored-gecode/include

我注意到当安装chefDK时,它会安装很多*.hpp*.h文件,为什么


/opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ffi-1.9.18/ext/ffi_c/AbstractMemory.h
...
/opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/dep-selector-libgecode-1.3.1/lib/dep-selector-libgecode/vendored-gecode/include/gecode/int/unary/subsumption.hpp


而且它还需要mac中的Xcode,为什么呢?

主要是因为我们从源代码编译所有内容,而包中的文本文件比我们注意到的要少100 MB,所以有10 K。如果您想
chef gem安装
带有c扩展的东西,也需要其中的一些。不需要Xcode,我们已经编译了您需要的所有内容