当我运行 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.
我该如何解决这个问题?