{"action":"created","issue":{"url":"https://api.github.com/repos/kamatama41/tfenv/issues/49","repository_url":"https://api.github.com/repos/kamatama41/tfenv","labels_url":"https://api.github.com/repos/kamatama41/tfenv/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/kamatama41/tfenv/issues/49/comments","events_url":"https://api.github.com/repos/kamatama41/tfenv/issues/49/events","html_url":"https://github.com/kamatama41/tfenv/issues/49","id":227442149,"number":49,"title":"Automatically use the most recently installed version of Terraform","user":{"login":"conorgil","id":945571,"avatar_url":"https://avatars1.githubusercontent.com/u/945571?v=3","gravatar_id":"","url":"https://api.github.com/users/conorgil","html_url":"https://github.com/conorgil","followers_url":"https://api.github.com/users/conorgil/followers","following_url":"https://api.github.com/users/conorgil/following{/other_user}","gists_url":"https://api.github.com/users/conorgil/gists{/gist_id}","starred_url":"https://api.github.com/users/conorgil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conorgil/subscriptions","organizations_url":"https://api.github.com/users/conorgil/orgs","repos_url":"https://api.github.com/users/conorgil/repos","events_url":"https://api.github.com/users/conorgil/events{/privacy}","received_events_url":"https://api.github.com/users/conorgil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-09T17:34:53Z","updated_at":"2017-05-20T06:26:33Z","closed_at":null,"body":"I just installed tfenv and tried to get setup with the latest version of Terraform, but ran into an unexpected bump along the way.\r\n\r\n```\r\n$> tfenv install latest\r\n[INFO] Installing Terraform v0.9.4\r\n[INFO] Downloading release tarball from https://releases.hashicorp.com/terraform/0.9.4/terraform_0.9.4_darwin_amd64.zip\r\n######################################################################## 100.0%\r\n[INFO] Downloading SHA hash file from https://releases.hashicorp.com/terraform/0.9.4/terraform_0.9.4_SHA256SUMS\r\ntfenv: tfenv-install: [WARN] No keybase install found, skipping GPG signature verification\r\nArchive:  tfenv_download.aid7dB/terraform_0.9.4_darwin_amd64.zip\r\n  inflating: /code/tfenv/versions/0.9.4/terraform\r\n[INFO] Installation of terraform v0.9.4 successful\r\n$> which terraform\r\n/code/tfenv/bin/terraform\r\n$> terraform --version\r\ncat: /code/tfenv/version: No such file or directory\r\ntfenv: /code/tfenv/libexec/tfenv-version-name: Version could not be resolved (set by /code/tfenv/version or tfenv use <version>)\r\n/code/tfenv/libexec/tfenv-exec: line 22: /code/tfenv/versions//terraform: No such file or directory\r\n```\r\n\r\n\r\nI was expecting to be able to use the version of terraform that I just installed without needing the extra step of `$> tfenv use latest`. I got everything working once I realized I had to do that, but it would be a nice UX improvement if it did that automatically upon install of a version.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/kamatama41/tfenv/issues/comments/302854363","html_url":"https://github.com/kamatama41/tfenv/issues/49#issuecomment-302854363","issue_url":"https://api.github.com/repos/kamatama41/tfenv/issues/49","id":302854363,"user":{"login":"kamatama41","id":899217,"avatar_url":"https://avatars0.githubusercontent.com/u/899217?v=3","gravatar_id":"","url":"https://api.github.com/users/kamatama41","html_url":"https://github.com/kamatama41","followers_url":"https://api.github.com/users/kamatama41/followers","following_url":"https://api.github.com/users/kamatama41/following{/other_user}","gists_url":"https://api.github.com/users/kamatama41/gists{/gist_id}","starred_url":"https://api.github.com/users/kamatama41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamatama41/subscriptions","organizations_url":"https://api.github.com/users/kamatama41/orgs","repos_url":"https://api.github.com/users/kamatama41/repos","events_url":"https://api.github.com/users/kamatama41/events{/privacy}","received_events_url":"https://api.github.com/users/kamatama41/received_events","type":"User","site_admin":false},"created_at":"2017-05-20T06:26:33Z","updated_at":"2017-05-20T06:26:33Z","body":"@conorgil \r\nSorry for late reply.\r\nA contributor kindly implemented the feature. Please try updating tfenv latest 😺  \r\nhttps://github.com/kamatama41/tfenv/pull/50"}}
{"actor":{"display_login":"kamatama41"}}