If, like me, you get the following error message: Install the library or try one of the following options to extconf.rb:
1 2 3
The solution is very, very simple.
and maybe an
for good measure) (especially that last one gets the C includes needed to build libxml-ruby).