{"action":"created","issue":{"url":"https://api.github.com/repos/postmodern/chruby/issues/335","labels_url":"https://api.github.com/repos/postmodern/chruby/issues/335/labels{/name}","comments_url":"https://api.github.com/repos/postmodern/chruby/issues/335/comments","events_url":"https://api.github.com/repos/postmodern/chruby/issues/335/events","html_url":"https://github.com/postmodern/chruby/issues/335","id":85282146,"number":335,"title":"tests are not always able to download ruby","user":{"login":"x-yuri","id":730588,"avatar_url":"https://avatars.githubusercontent.com/u/730588?v=3","gravatar_id":"","url":"https://api.github.com/users/x-yuri","html_url":"https://github.com/x-yuri","followers_url":"https://api.github.com/users/x-yuri/followers","following_url":"https://api.github.com/users/x-yuri/following{/other_user}","gists_url":"https://api.github.com/users/x-yuri/gists{/gist_id}","starred_url":"https://api.github.com/users/x-yuri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/x-yuri/subscriptions","organizations_url":"https://api.github.com/users/x-yuri/orgs","repos_url":"https://api.github.com/users/x-yuri/repos","events_url":"https://api.github.com/users/x-yuri/events{/privacy}","received_events_url":"https://api.github.com/users/x-yuri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-04T21:20:28Z","updated_at":"2015-06-22T08:03:06Z","closed_at":null,"body":"First, there doesn't always exist [dir][1] for some particular distribution release, like `debian-7,8` (which I need now). And there doesn't always exist ruby for that particular release, like `2.0.0-p353` for [`squeeze`][2]. So, why don't we turn [`system_version`][3] into array? Turning `test_ruby_patchlevel` into array must be a hassle, ~~but you might consider switching to `247`... er, which is not available for `jessie`, so doesn't sound right.~~ But then again, we can download whatever patchlevel available, and set `test_ruby_patchlevel=$(ls test/opt/rubies | sed -E 's/.*p([0-9]+)/\\1/')`, can't we?\r\n\r\n[1]: https://rvm.io/binaries/debian/\r\n[2]: https://rvm.io/binaries/debian/6.0/x86_64/\r\n[3]: https://github.com/postmodern/chruby/blob/master/test/setup#L43"},"comment":{"url":"https://api.github.com/repos/postmodern/chruby/issues/comments/114034634","html_url":"https://github.com/postmodern/chruby/issues/335#issuecomment-114034634","issue_url":"https://api.github.com/repos/postmodern/chruby/issues/335","id":114034634,"user":{"login":"x-yuri","id":730588,"avatar_url":"https://avatars.githubusercontent.com/u/730588?v=3","gravatar_id":"","url":"https://api.github.com/users/x-yuri","html_url":"https://github.com/x-yuri","followers_url":"https://api.github.com/users/x-yuri/followers","following_url":"https://api.github.com/users/x-yuri/following{/other_user}","gists_url":"https://api.github.com/users/x-yuri/gists{/gist_id}","starred_url":"https://api.github.com/users/x-yuri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/x-yuri/subscriptions","organizations_url":"https://api.github.com/users/x-yuri/orgs","repos_url":"https://api.github.com/users/x-yuri/repos","events_url":"https://api.github.com/users/x-yuri/events{/privacy}","received_events_url":"https://api.github.com/users/x-yuri/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T08:03:06Z","updated_at":"2015-06-22T08:03:06Z","body":"So, why do we decide which version to use before knowing it's there? Why don't we download whatever `ruby` version available?"}}