You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
I use rbenv to manage my different versions of ruby. I already had several versions installed (1.9.3 and 2.1.1) and I needed to install 2.0.0. Here is what I got:
$ rbenv install 2.0.0-p451
Downloading ruby-2.0.0-p451.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/9227787a9636551f1749ee8394b5ffe5
Installing ruby-2.0.0-p451...
BUILD FAILED
Inspect or clean up the working tree at /var/folders/td/fq_jt_dd78v1dzsr_xk7xfvr0000gq/T/ruby-build.20140423140638.61844
Results logged to /var/folders/td/fq_jt_dd78v1dzsr_xk7xfvr0000gq/T/ruby-build.20140423140638.61844.log
Last 10 log lines:
compiling ossl_x509ext.c
1 warning generated.
compiling ossl_x509name.c
compiling ossl_x509req.c
compiling ossl_x509revoked.c
compiling ossl_x509store.c
installing default openssl libraries
linking shared-object openssl.bundle
ld: warning: directory not found for option '-L/Users/julien/.rbenv/versions/2.0.0-p451/lib'
make: *** [build-ext] Error 2
$
Cause
After some research I found this issue was mentioned here.
As explained in the thread, it turns out that the issue was from the latest upgrade of readline from 6.2.4 to 6.3.3.
Solution for now
The solution for now is to downgrade from readline 6.3.3 to 6.2.4 using this raw URL.
The text was updated successfully, but these errors were encountered:
jcapron
changed the title
Can't install a new version of Ruby using rbenv after upgrade of readline
Can't install a new version of Ruby using rbenv after upgrade of readline to 6.3.3
Apr 23, 2014
This is a problem in ruby that has been fixed upstream, but not released yet. Homebrew's ruby formula is using the upstream patch to work around it.
readline 6.3 was released two months ago, but we didn't update until 10 days ago, in part to give third parties time to sort out issues like this. rbenv has been aware of it since at least rbenv/ruby-build#526. It's up to them to address it.
Closing because there's not any action for Homebrew to take here.
Overview
I use rbenv to manage my different versions of ruby. I already had several versions installed (1.9.3 and 2.1.1) and I needed to install 2.0.0. Here is what I got:
Cause
After some research I found this issue was mentioned here.
As explained in the thread, it turns out that the issue was from the latest upgrade of readline from 6.2.4 to 6.3.3.
Solution for now
The solution for now is to downgrade from readline 6.3.3 to 6.2.4 using this raw URL.
The text was updated successfully, but these errors were encountered: