Question

When I run cap deploy, it stops by saying this:

    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.

How can I fix this problem?

Était-ce utile?

La solution

Did you resolved the requirements first?

libxml2
libxml2-dev
libxslt
libxslt-dev

http://nokogiri.org

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top