【问题标题】:An error occurred while installing nokogiri (1.6.1)安装 nokogiri (1.6.1) 时出错
【发布时间】:2014-02-10 00:07:03
【问题描述】:

当我运行 cap deploy 时,它会这样说:

    ubuntu@web01b:~$ sudo gem install nokogiri -v '1.6.1'
Building native extensions.  This could take a while...
ERROR:  Error installing nokogiri:
    ERROR: Failed to build gem native extension.

        /usr/bin/ruby1.9.1 extconf.rb

Gem files will remain installed in /var/lib/gems/1.9.1/gems/nokogiri-1.6.1 for inspection.

我该如何解决这个问题?

【问题讨论】:

    标签: ruby-on-rails ruby capistrano nokogiri rubber


    【解决方案1】:

    您是否首先解决了需求?

    libxml2
    libxml2-dev
    libxslt
    libxslt-dev
    

    http://nokogiri.org

    【讨论】:

      猜你喜欢
      • 2015-11-13
      • 2012-04-01
      • 1970-01-01
      • 2017-05-05
      • 2019-01-08
      • 1970-01-01
      • 2015-05-15
      • 2023-02-02
      • 2014-03-20
      相关资源
      最近更新 更多