DEV Community

loading...

Installing libxml-ruby on macOS

okuramasafumi profile image OKURA Masafumi ・1 min read

I always cannot find the way to install libxml-ruby gem which is used by Rails, so here's a command:

gem i libxml-ruby -- --with-xml2-dir=`brew --prefix libxml2` --with-xml2-config=`brew --prefix libxml2`/bin/xml2-config
Enter fullscreen mode Exit fullscreen mode

Discussion (1)

pic
Editor guide
Collapse
jorgeddw profile image