我是傀儡新手。我正在尝试在我的Windows系统中安装librarian-puppet。在开始安装librarian-puppet
:
在安装librarian-puppet之前,需要Ruby DevKit:
一个。选择"使用Puppet启动命令提示符"转到命令窗口。
湾从http://rubyinstaller.org/downloads
下载并安装devkit℃。在devkit目录下运行“ruby dk.rb init”。
d。编辑生成的config.yml并添加puppet的ruby安装路径 (它将是/ sys / ruby)。
即运行“ruby dk.rb install”将其绑定到puppet ruby安装。
最后我做了:
gem install librarian-puppet
但我得到的错误是:
ERROR: Error installing librarian-puppet:
ERROR: Failed to build gem native extension.
并且执行的输出如下所示:
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing librarian-puppet:
ERROR: Failed to build gem native extension.
C:/Ruby193/bin/ruby.exe extconf.rb
creating Makefile
make
'make' is not recognized as an internal or external command,
operable program or batch file.
Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.8.
1 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.8.1/ext/json/ext/ge
nerator/gem_make.out
我在这里遗漏了什么吗?任何帮助,将不胜感激。
答案 0 :(得分:0)
如果你安装了librarian-puppet 1.1.x或更高版本,它不应该要求json gem无法构建