1.3. Dependencies
The Ruby Software Development Kit has the following dependencies, which you must install manually if you are using gem:
-
libxml2for parsing and rendering XML -
libcurlfor HTTP transfers - C compiler
- Required header and library files
You do not need to install the dependency files if you installed the RPM.
Install the dependency files:
# yum install gcc libcurl-devel libxml2-devel ruby-devel
If you are using Fedora or CentOS, use dnf:
# dnf install gcc libcurl-devel libxml2-devel ruby-devel
If you are using Debian or Ubuntu, use apt-get:
# apt-get install gcc libxml2-dev libcurl-dev ruby-dev

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.