-
Notifications
You must be signed in to change notification settings - Fork 778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After OSX 10.10.4 update(?): Unable to install 2.2.0 or 2.2.1, run gem install bundler
with 2.2.2 - missing zlib
#780
Comments
gem install bundler
with 2.2.2gem install bundler
with 2.2.2
gem install bundler
with 2.2.2gem install bundler
with 2.2.2 - missing zlib
well...it looks like zlib must be in Xcode proper and not Command Line Tools...and either something happened to my Xcode installation or I needed to update it manually after the OSX 10.10.4 upgrade. I checked the App Store and noticed I was able to update it and, after I did, the problem went away. I'll go ahead and close this! |
Hello, Sorry to reopen this topic but I have the same problem on Catalina. My installation is fresh, I even reinstalled XCode and no matter what I'm trying, it won't install Ruby 2.2.0:
In the logs, near the end:
It seems that Ruby is compiling just fine but gem is failing. Rbenv-doctor output: curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash
Checking for `rbenv' in PATH: /usr/local/bin/rbenv
Checking for rbenv shims in PATH: OK
Checking `rbenv install' support: /usr/local/bin/rbenv-install (ruby-build 20200819)
Counting installed Ruby versions: none
There aren't any Ruby versions installed under `/Users/jberthelot/.rbenv/versions'.
You can install Ruby versions like so: rbenv install 2.2.4
Checking RubyGems settings: OK
Auditing installed plugins: OK
Any help would be greatly appreciated. |
I've been having the following issues with rbenv since a recent uninstall/reinstall of rbenv and ruby-build (around the same time as updating to OSX 10.10.4 and Command Line Tools 6.4). I was uninstalling/reinstalling in hopes that it would fix an unrelated problem. However, I now can't build 2.2.0 or 2.2.1. I can build 2.2.2 but am unable to use
gem install bundler
due to a supposedly missingzlib
package. I have runbrew update
,brew doctor
, etc before installing rbenv and ruby-build.When I open up the error log and find the point of failure, it's the same as the above
bundler
problem with 2.2.2:I have seen similar problems with
cannot load such file -- zlib
(it's even mentioned in the wiki) but that normally seems to be a problem with Linux systems rather than OSX.I'm at the end of what I know to do to try to debug this and I thought I would mention/report it here.
OSX 10.10.4
Command Line Tools 6.4
rbenv 0.4.0
ruby-build 20150519
The text was updated successfully, but these errors were encountered: