Skip to content

Instantly share code, notes, and snippets.

View johnhaitas's full-sized avatar

John Haitas johnhaitas

View GitHub Profile
@johnhaitas
johnhaitas / rake-zlib-error
Created November 9, 2011 18:32
rake gem install error - zlib
% 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)