Rbenv osx ruby ​​checksum mismatch

I have successfully installed rbenv and ruby ​​build on a mountain lion. The launch rbenv install 1.9.3-p392ends with:

checksum mismatch: ruby-1.9.3-p392.tar.gz (file is corrupt) expected f689a7b61379f83cbbed3c7077d83859, got 1cfc2ff433dbe80f8ff1a9dba2fd5636

The file that it downloads seems fine, and if I download the file manually with curl, I get the same wrong checksum.

Has anyone come across this before? How did they resolve it?

+5
source share
2 answers

TL: other; Download the ruby ​​using the browser http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz and put it in ~/.rbenv/caches/ruby-1.9.3-p392.tar.gz, then runrbenv install 1.9.3-p392

curl ftp.ruby-lang.org. curl Accept-Encoding: gzip, ruby ​​(~ 60mb) gzipped (~ 12mb). , .

curl -header "Accept-Encoding: gzip" . , rbenv -q curl, .curlrc, .

- ruby.tar.gz , .

+9

, , , , @Cam, brew, , .

brew install curl , .

0

All Articles