For example if you use rvm and get this message:
ERROR: Loading command: install (LoadError)
no such file to load -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand
You've installed your ruby without having all required libraries.
I don't know why there isn't a Warning message if you install a ruby with rvm and didn't have libraries like openssl and zlib.
To fix this you can execute this:
#to show the requirements for your system
rvm requirements
#to directly install the requirements
rvm requirements run
#after installing the requirements you have to recompile your rubies
rvm reinstall all --force
Posted by Martin Straub to makandra dev (2013-03-18 14:11)