Created
October 24, 2012 14:05
-
-
Save bjallen/3946223 to your computer and use it in GitHub Desktop.
zlib error when using rbenv across ctovm instances
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/sstephenson/ruby-build/wiki | |
I had rbenv installed in my global home dir, but got this error when trying to install a gem: | |
-bash-4.1$ gem install httparty | |
ERROR: Loading command: install (LoadError) | |
cannot load such file -- zlib | |
ERROR: While executing gem ... (NameError) | |
uninitialized constant Gem::Commands::InstallCommand | |
# Installed zlib-devel | |
-bash-4.1$ /project/admin/bin/sudo yum install zlib-devel | |
# Reinstalled ruby | |
-bash-4.1$ rbenv install 1.9.3-p194 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment