{"action":"created","issue":{"url":"https://api.github.com/repos/junegunn/vim-plug/issues/162","labels_url":"https://api.github.com/repos/junegunn/vim-plug/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/junegunn/vim-plug/issues/162/comments","events_url":"https://api.github.com/repos/junegunn/vim-plug/issues/162/events","html_url":"https://github.com/junegunn/vim-plug/issues/162","id":56969616,"number":162,"title":"Update/Install fail on Ubuntu 10.04.4 with Vim 7.2 and Ruby 1.8.7.","user":{"login":"sangh","id":882652,"avatar_url":"https://avatars.githubusercontent.com/u/882652?v=3","gravatar_id":"","url":"https://api.github.com/users/sangh","html_url":"https://github.com/sangh","followers_url":"https://api.github.com/users/sangh/followers","following_url":"https://api.github.com/users/sangh/following{/other_user}","gists_url":"https://api.github.com/users/sangh/gists{/gist_id}","starred_url":"https://api.github.com/users/sangh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangh/subscriptions","organizations_url":"https://api.github.com/users/sangh/orgs","repos_url":"https://api.github.com/users/sangh/repos","events_url":"https://api.github.com/users/sangh/events{/privacy}","received_events_url":"https://api.github.com/users/sangh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-08T21:54:29Z","updated_at":"2015-02-09T17:33:26Z","closed_at":"2015-02-09T03:13:40Z","body":"I have a relatively old Ubuntu server (`lsb_release -a` says `Ubuntu 10.04.4 LTS`, Vim 7.2 (it is the `vim-nox` package), and `:ruby puts RUBY_VERSION` prints `1.8.7`).  When doing either a `:PlugUpdate` or `:PlugInstall` I get:\r\n\r\n    Error detected while processing function <SNR>9_update..<SNR>9_update_impl:\r\n    line   52:\r\n    E16: Invalid range:       silent 4,$d _\r\n    Press ENTER or type command to continue\r\n\r\nSetting `let g:plug_threads=1` lets me do a `:PlugInstall`, but weirdly `:PlugUpdate` fails each individual install with:\r\n\r\n    error: unknown option `progress'\r\n\r\nBut this is because the version of git on that machine (1.7.0.4) doesn't have the `--progress` option in clone and fetch.  Actually I don't know why that is there at all since you can't see it, I may submit a pull request just to remove those.\r\n\r\nAnyway, I have no idea on the first error, does anyone?"},"comment":{"url":"https://api.github.com/repos/junegunn/vim-plug/issues/comments/73551957","html_url":"https://github.com/junegunn/vim-plug/issues/162#issuecomment-73551957","issue_url":"https://api.github.com/repos/junegunn/vim-plug/issues/162","id":73551957,"user":{"login":"junegunn","id":700826,"avatar_url":"https://avatars.githubusercontent.com/u/700826?v=3","gravatar_id":"","url":"https://api.github.com/users/junegunn","html_url":"https://github.com/junegunn","followers_url":"https://api.github.com/users/junegunn/followers","following_url":"https://api.github.com/users/junegunn/following{/other_user}","gists_url":"https://api.github.com/users/junegunn/gists{/gist_id}","starred_url":"https://api.github.com/users/junegunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junegunn/subscriptions","organizations_url":"https://api.github.com/users/junegunn/orgs","repos_url":"https://api.github.com/users/junegunn/repos","events_url":"https://api.github.com/users/junegunn/events{/privacy}","received_events_url":"https://api.github.com/users/junegunn/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T17:33:26Z","updated_at":"2015-02-09T17:33:26Z","body":"Have you tried the updated version I linked above? The line you mentioned is in catch block. Its purpose is to clean up the buffer when the task is interrupted (ctrl-c) so it is not the cause of the problem."}}