Giter Site home page Giter Site logo

Comments (8)

postmodern avatar postmodern commented on May 30, 2024

Known issue. See issue #60.

from ruby-install.

jimothyGator avatar jimothyGator commented on May 30, 2024

Issue #60 was closed, with what appears to be a Rubunius-specific fix. But this issue still occurs for MRI, etc.:

curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
!!! Download of http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.bz2 failed!

Should this issue be re-opened?

from ruby-install.

postmodern avatar postmodern commented on May 30, 2024

@jimothyGator I cannot seem to reproduce this with curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.15.2 zlib/1.2.7 libidn/1.26 libssh2/1.4.3.

from ruby-install.

jimothyGator avatar jimothyGator commented on May 30, 2024

This was on Mac OS X 10.9 (Mavericks)

curl 7.30.0 (x86_64-apple-darwin13.0) libcurl/7.30.0 SecureTransport zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp 
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz 

I get the error when I run:

ruby-install ruby 2

(For the benefit of those coming to this issue from Google, as did I, to recover from an interrupted download or build, run rm ~/src/ruby-2.0.0-p353.tar.bz2, or whatever file you're having an issue with).

from ruby-install.

postmodern avatar postmodern commented on May 30, 2024

Interesting, I can interrupt the download and resume without error. It's only when the file is completely downloaded that curl fails.

from ruby-install.

postmodern avatar postmodern commented on May 30, 2024

@jimothyGator this appears to be a known issue with curl: http://curl.haxx.se/mail/lib-2013-04/0047.html One workaround would be to install wget.

from ruby-install.

jimothyGator avatar jimothyGator commented on May 30, 2024

@postmodern See my pull request #100. It will first try curl with resume, then re-try it without resume if that fails.

from ruby-install.

postmodern avatar postmodern commented on May 30, 2024

Fixed by 951faa8.

from ruby-install.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.