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 online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
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)