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?

Was it helpful?

Solution

Did you resolved the requirements first?

libxml2
libxml2-dev
libxslt
libxslt-dev

http://nokogiri.org

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top