1

当我运行 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.

我该如何解决这个问题?

4

1 回答 1

1

您是否首先解决了需求?

libxml2
libxml2-dev
libxslt
libxslt-dev

http://nokogiri.org

于 2014-02-10T05:17:00.670 回答