sstephenson/ruby-build — Issue #117: Needed zlib for working ruby-1.9.2-p290
Author: dsjbirch
Created: 2012-01-08 09:21:20+00:00
State: open

I've just begun using rbenv and ruby-build. I really appreciate the simplicity, thanks.

When installing ruby-1.9.2-p290 I didn't get any error messages, but after correctly setting global i was unable to do a gem install bundler. I got

ERROR: Loading command: install (LoadError)
no such file to load -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand

my solution was to delete the install and (I'm using ubuntu) `sudo apt-get install zlib1g zlib1g-dev` prior to the next install and all is now fine.

Is it worth mentioning some prerequisites in the readme? I think ubuntu users need `sudo apt-get build-essentials` too?

Shall I send a patch to the readme?