无法在rvm ruby 1.9.1下安装nokogiri gem.
gem install nokogiri
Run Code Online (Sandbox Code Playgroud)
我越来越 ...
/usr/include/libxml2... no
libxml2 is missing. try 'port install libxml2' or 'yum install libxml2-devel'
*** extconf.rb failed ***
Run Code Online (Sandbox Code Playgroud)
但我查了一下:
sudo apt-get install libxml2
Run Code Online (Sandbox Code Playgroud)
我得到了:
Reading state information... Done
libxml2 is already the newest version.
Run Code Online (Sandbox Code Playgroud)
这可能是根本的事吗?RVM在用户空间中运行所有内容.