Read more

Fix „rvm no such file to load -- openssl“ or "rvm no such file to load -- zlib"

Deleted user #6
March 18, 2013Software engineer

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
Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
Read more Show archive.org snapshot

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 to makandra dev (2013-03-18 15:11)