{"action":"created","issue":{"url":"https://api.github.com/repos/asdf-vm/asdf/issues/66","repository_url":"https://api.github.com/repos/asdf-vm/asdf","labels_url":"https://api.github.com/repos/asdf-vm/asdf/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/asdf-vm/asdf/issues/66/comments","events_url":"https://api.github.com/repos/asdf-vm/asdf/issues/66/events","html_url":"https://github.com/asdf-vm/asdf/issues/66","id":161238935,"number":66,"title":"Plugin named erlang already added","user":{"login":"nathany","id":4566,"avatar_url":"https://avatars.githubusercontent.com/u/4566?v=3","gravatar_id":"","url":"https://api.github.com/users/nathany","html_url":"https://github.com/nathany","followers_url":"https://api.github.com/users/nathany/followers","following_url":"https://api.github.com/users/nathany/following{/other_user}","gists_url":"https://api.github.com/users/nathany/gists{/gist_id}","starred_url":"https://api.github.com/users/nathany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathany/subscriptions","organizations_url":"https://api.github.com/users/nathany/orgs","repos_url":"https://api.github.com/users/nathany/repos","events_url":"https://api.github.com/users/nathany/events{/privacy}","received_events_url":"https://api.github.com/users/nathany/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-06-20T16:35:10Z","updated_at":"2016-06-22T04:14:42Z","closed_at":"2016-06-21T17:39:49Z","body":"Hi. I've been using asdf for about 4 months now on CircleCI. Today it started giving me this error. Is there anything that changed in asdf that could have caused this, and any suggestions to work around it?\r\n\r\n```\r\n$ asdf plugin-add erlang https://github.com/HashNuke/asdf-erlang.git\r\nPlugin named erlang already added\r\n\r\nasdf plugin-add erlang https://github.com/HashNuke/asdf-erlang.git returned exit code 1\r\n\r\nAction failed: asdf plugin-add erlang https://github.com/HashNuke/asdf-erlang.git\r\n```\r\n\r\nThe code that I'm running looks like this (hasn't changed):\r\n\r\n```console\r\nif ! asdf | grep version; then git clone https://github.com/HashNuke/asdf.git ~/.asdf; fi\r\nasdf plugin-add erlang https://github.com/HashNuke/asdf-erlang.git\r\nasdf plugin-add elixir https://github.com/HashNuke/asdf-elixir.git\r\nerlang_version=$(awk '/erlang/ { print $2 }' .tool-versions) && asdf install erlang ${erlang_version}\r\nelixir_version=$(awk '/elixir/ { print $2 }' .tool-versions) && asdf install elixir ${elixir_version}\r\n...\r\n```\r\n\r\nThe directories that I'm caching also hasn't changed:\r\n\r\n```\r\n~/.asdf\r\n~/.asdf/installs/elixir/1.2.6/.mix\r\ndeps\r\n_build\r\n```\r\n\r\nI did a clean rebuild (cleared the cache) last week. Not sure if that's related."},"comment":{"url":"https://api.github.com/repos/asdf-vm/asdf/issues/comments/227638628","html_url":"https://github.com/asdf-vm/asdf/issues/66#issuecomment-227638628","issue_url":"https://api.github.com/repos/asdf-vm/asdf/issues/66","id":227638628,"user":{"login":"HashNuke","id":84005,"avatar_url":"https://avatars.githubusercontent.com/u/84005?v=3","gravatar_id":"","url":"https://api.github.com/users/HashNuke","html_url":"https://github.com/HashNuke","followers_url":"https://api.github.com/users/HashNuke/followers","following_url":"https://api.github.com/users/HashNuke/following{/other_user}","gists_url":"https://api.github.com/users/HashNuke/gists{/gist_id}","starred_url":"https://api.github.com/users/HashNuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HashNuke/subscriptions","organizations_url":"https://api.github.com/users/HashNuke/orgs","repos_url":"https://api.github.com/users/HashNuke/repos","events_url":"https://api.github.com/users/HashNuke/events{/privacy}","received_events_url":"https://api.github.com/users/HashNuke/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T04:14:42Z","updated_at":"2016-06-22T04:14:42Z","body":"@tuvistavie Non-zero exit for a plugin already installed is very appropriate.\r\n\r\nAlso @kdisneur's has a blog post about using asdf on CircleCI - https://kevin.disneur.me/archives/2015-06-14-elixir-on-circleci.html"}}
{"actor":{"display_login":"HashNuke"}}