Ho installato il pacchetto zlib e ruby 1.9.3 usando rvm, ma ogni volta che provo a installare gems dice
cannot load such file -- zlib
I comandi che ho usato per l'installazione sono
$ rvm install 1.9.3
$ rvm pkg installa zlib
$ rvm reinstall 1.9.3 --with-readline-dir = / home / nomeutente / .rvm / usr \
--with-iconv-dir = / home / nomeutente / .rvm / usr \
--with-zlib-dir = / home / nomeutente / .rvm / usr \
--with-openssl-dir = / home / nomeutente / .rvm / usr
$ rvm usa 1.9.3
$ gem install heroku
ERRORE: caricamento del comando: install (LoadError)
non è possibile caricare tale file - zlib
ERRORE: durante l'esecuzione di gem ... (NameError)
costante non inizializzata Gem :: Commands :: InstallCommand
Tutto l'aiuto su questo argomento mi dice di fare rvm pkg install zlibe poi reinstallare il rubino con --with-zlib-dir=/home/username/.rvm/usr, ma non ha funzionato.