I've installed rbenv and downloaded a ruby using ruby-build, e.g.
rbenv global 1.9.3-p448
gem env # This show my customized ruby gem paths instead the system one,
# so it works!
Then I install bundler,
# gem install --no-ri --no-rdoc bundler
ERROR: Loading command: install (LoadError)
cannot load such file -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand
If I don't use rbenv and use my system ruby, I can install bundler. but how to install when I am using rbenv?