Created
November 9, 2011 18:32
-
-
Save johnhaitas/1352392 to your computer and use it in GitHub Desktop.
rake gem install error - zlib
This file contains 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
% rvm pkg install zlib | |
% rvm install 1.9.3 --with-zlib-dir=~/.rvm/usr | |
% rvm use 1.9.3 | |
% gem install rake | |
ERROR: Loading command: install (LoadError) | |
cannot load such file -- zlib | |
ERROR: While executing gem ... (NameError) | |
uninitialized constant Gem::Commands::InstallCommandERROR: Loading command: install (LoadError) | |
cannot load such file -- zlib | |
ERROR: While executing gem ... (NameError) | |
uninitialized constant Gem::Commands::InstallCommand |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
solved by changing
% rvm install 1.9.3 --with-zlib-dir=~/.rvm/usr
to
% rvm install 1.9.3 --with-zlib-dir=${HOME}/.rvm/usr