Ruby & RubyGems
From MEPIS Documentation Wiki
Ruby is a popular object-orientated dynamically typed programming language allowing for quick development and flowing syntax. The RubyGems addition is a Ruby specific package management system that allows developers to install a variety of extensions and libraries to the Ruby language.
Contents |
Requirements
Installation
Ruby
RubyGems
Configuration
Common Problems
- no such file to load -- mkmf
This error message is often displayed when you try to install gems that build native extensions. What the installer is complaining about is a lack of the mkmf.rb script but this problem is easy to solve. All you need to do is install the Ruby dev libraries using apt-get and as root type:
apt-get install ruby1.8-dev
- no such file to load -- zlib (LoadError)
Siimilar to the error above this is Ruby complaining about missing libraries. In this case its the zlib libraries and to install those you need to:
apt-get install zlib1g zlib1g-dev
This will install the required libraries. You may need to re-install RubyGems after this step - see above for the instructions on this.

