I needed to install the ruby developper package ruby-devel :
% zypper install ruby-devel ~ linux-7o7a Loading repository data... Reading installed packages... Resolving package dependencies... The following 2 NEW packages are going to be installed: ruby-devel ruby2.1-devel 2 new packages to install. Overall download size: 3.1 MiB. Already cached: 0 B. After the operation, additional 20.1 MiB will be used. Continue? [y/n/? shows all options] (y): y Retrieving package ruby2.1-devel-2.1.2-5.7.x86_64 (1/2), 3.1 MiB ( 20.1 MiB unpacked) Retrieving: ruby2.1-devel-2.1.2-5.7.x86_64.rpm ...........................................................................................................................................................................[done (595.5 KiB/s)] Retrieving package ruby-devel-2.1-3.2.x86_64 (2/2), 10.5 KiB ( 84 B unpacked) Retrieving: ruby-devel-2.1-3.2.x86_64.rpm ..............................................................................................................................................................................................[done] Checking for file conflicts: ...........................................................................................................................................................................................................[done] (1/2) Installing: ruby2.1-devel-2.1.2-5.7 ..............................................................................................................................................................................................[done] (2/2) Installing: ruby-devel-2.1-3.2 ...................................................................................................................................................................................................[done]
After that, rdiscount installed well :
% gem install rdiscount ~ linux-7o7a Building native extensions. This could take a while... Successfully installed rdiscount-2.1.8 Parsing documentation for rdiscount-2.1.8 Installing ri documentation for rdiscount-2.1.8 Done installing documentation for rdiscount after 0 seconds 1 gem installed