ubuntu上使用rvm,gem install 报错

 

gem install bundler ERROR: Loading command: install (LoadError)     cannot load such file -- zlib ERROR: While executing gem ... (NameError)     uninitialized constant Gem::Commands::InstallCommand
解决办法:
一、卸载 1.9.3
$ rvm remove 1.9.3
二、安装zlib
$ rvm pkg install zlib
二、重新安装ruby 1.9.3
$ rvm reinstall 1.9.3
 



 

 

你可能感兴趣的:(ubuntu,rvm)