{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5092","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5092/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5092/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5092/events","html_url":"https://github.com/travis-ci/travis-ci/issues/5092","id":116461249,"number":5092,"title":"curl was removed(?), causing an RVM download problem","user":{"login":"cvrebert","id":419884,"avatar_url":"https://avatars.githubusercontent.com/u/419884?v=3","gravatar_id":"","url":"https://api.github.com/users/cvrebert","html_url":"https://github.com/cvrebert","followers_url":"https://api.github.com/users/cvrebert/followers","following_url":"https://api.github.com/users/cvrebert/following{/other_user}","gists_url":"https://api.github.com/users/cvrebert/gists{/gist_id}","starred_url":"https://api.github.com/users/cvrebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvrebert/subscriptions","organizations_url":"https://api.github.com/users/cvrebert/orgs","repos_url":"https://api.github.com/users/cvrebert/repos","events_url":"https://api.github.com/users/cvrebert/events{/privacy}","received_events_url":"https://api.github.com/users/cvrebert/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/travis-ci/travis-ci/labels/caching","name":"caching","color":"444444"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-11-12T01:41:42Z","updated_at":"2016-01-14T20:57:50Z","closed_at":null,"body":"This literally stopped working just a few minutes ago.\r\n* [Working build](https://travis-ci.org/twbs/bootstrap/jobs/90644600)\r\n* [Failed build log:](https://travis-ci.org/twbs/bootstrap/jobs/90644599)\r\n```\r\n$ rvm install 2.0.0 && rvm use 2.0.0\r\nSearching for binary rubies, this might take some time.\r\nFound remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/12.04/x86_64/ruby-2.0.0-p598.tar.bz2\r\nChecking requirements for ubuntu.\r\nRequirements installation successful.\r\nruby-2.0.0-p598 - #configure\r\nruby-2.0.0-p598 - #download\r\nRVM requires 'curl'. Install 'curl' first and try again.\r\nThere was an error(200).\r\nChecking fallback: ftp://rvm_io.global.ssl.fastly.net/binaries/ubuntu/12.04/x86_64/ruby-2.0.0-p598.tar.bz2?rvm=1.26.8\r\nChecking fallback: http://www.mirrorservice.org/sites/rvm_io.global.ssl.fastly.net/binaries/ubuntu/12.04/x86_64/ruby-2.0.0-p598.tar.bz2?rvm=1.26.8\r\nNo fallback URL could be found, try increasing timeout with:\r\n    echo \"export rvm_max_time_flag=20\" >> ~/.rvmrc\r\nDownloading https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/12.04/x86_64/ruby-2.0.0-p598.tar.bz2 failed.\r\nMounting remote ruby failed with status 2, trying to compile.\r\nChecking requirements for ubuntu.\r\nRequirements installation successful.\r\nInstalling Ruby from source to: /home/travis/.rvm/rubies/ruby-2.0.0-p598, this may take a while depending on your cpu(s)...\r\nruby-2.0.0-p598 - #downloading ruby-2.0.0-p598, this may take a while depending on your connection...\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100 10.2M  100 10.2M    0     0  46.1M      0 --:--:-- --:--:-- --:--:-- 53.7M\r\nruby-2.0.0-p598 - #extracting ruby-2.0.0-p598 to /home/travis/.rvm/src/ruby-2.0.0-p598....\r\nruby-2.0.0-p598 - #configuring..................................................\r\nruby-2.0.0-p598 - #post-configuration..\r\nruby-2.0.0-p598 - #compiling.............................................................................\r\nruby-2.0.0-p598 - #installing..............................\r\nruby-2.0.0-p598 - #making binaries executable..\r\nRVM requires 'curl'. Install 'curl' first and try again.\r\nThere was an error while trying to resolve rubygems version for 'latest'. \r\nHalting the installation.\r\nThe command \"rvm install 2.0.0 && rvm use 2.0.0\" failed and exited with 4 during .\r\n```\r\nObviously, falling back to compiling Ruby from source should be avoided if at all possible."},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/comments/171777646","html_url":"https://github.com/travis-ci/travis-ci/issues/5092#issuecomment-171777646","issue_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5092","id":171777646,"user":{"login":"defsprite","id":165219,"avatar_url":"https://avatars.githubusercontent.com/u/165219?v=3","gravatar_id":"","url":"https://api.github.com/users/defsprite","html_url":"https://github.com/defsprite","followers_url":"https://api.github.com/users/defsprite/followers","following_url":"https://api.github.com/users/defsprite/following{/other_user}","gists_url":"https://api.github.com/users/defsprite/gists{/gist_id}","starred_url":"https://api.github.com/users/defsprite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defsprite/subscriptions","organizations_url":"https://api.github.com/users/defsprite/orgs","repos_url":"https://api.github.com/users/defsprite/repos","events_url":"https://api.github.com/users/defsprite/events{/privacy}","received_events_url":"https://api.github.com/users/defsprite/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T20:57:50Z","updated_at":"2016-01-14T20:57:50Z","body":"We're seeing this as well - yet only on projects that have `node_modules`. Only clue I've found:\r\n\r\n- `node_modules/.bin` is on `$PATH`, prior to standard bin directories \r\n- in our case there is `node_modules/.bin/which`\r\n\r\nAs `rvm` uses `which` to detect `curl` might this be the issue? (see above and https://github.com/rvm/rvm/blob/master/scripts/functions/support#L262)\r\n\r\nNot sure how to verify this though. It should probably work even with that version of `which`."}}