librarian-puppet无法安装在Windows上

时间:2014-07-21 15:58:08

标签: windows puppet librarian

我是傀儡新手。我正在尝试在我的Windows系统中安装librarian-puppet。在开始安装librarian-puppet

之前,我已按照以下安装步骤操作
  1. https://downloads.puppetlabs.com/windows/(不是宝石安装木偶)的Windows msi文件下载并安装puppet。
  2. 您必须运行"使用Puppet启动命令提示符"不是正常的Windows命令提示符。
  3. 在安装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​​安装。

  4. 最后我做了:

    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
    

    我在这里遗漏了什么吗?任何帮助,将不胜感激。

1 个答案:

答案 0 :(得分:0)

如果你安装了librarian-puppet 1.1.x或更高版本,它不应该要求json gem无法构建