{"action":"created","issue":{"url":"https://api.github.com/repos/brson/multirust/issues/127","repository_url":"https://api.github.com/repos/brson/multirust","labels_url":"https://api.github.com/repos/brson/multirust/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/brson/multirust/issues/127/comments","events_url":"https://api.github.com/repos/brson/multirust/issues/127/events","html_url":"https://github.com/brson/multirust/issues/127","id":136904385,"number":127,"title":"install.sh should set \"default stable\"","user":{"login":"nodakai","id":90726,"avatar_url":"https://avatars.githubusercontent.com/u/90726?v=3","gravatar_id":"","url":"https://api.github.com/users/nodakai","html_url":"https://github.com/nodakai","followers_url":"https://api.github.com/users/nodakai/followers","following_url":"https://api.github.com/users/nodakai/following{/other_user}","gists_url":"https://api.github.com/users/nodakai/gists{/gist_id}","starred_url":"https://api.github.com/users/nodakai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodakai/subscriptions","organizations_url":"https://api.github.com/users/nodakai/orgs","repos_url":"https://api.github.com/users/nodakai/repos","events_url":"https://api.github.com/users/nodakai/events{/privacy}","received_events_url":"https://api.github.com/users/nodakai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-27T10:17:56Z","updated_at":"2016-03-08T20:50:57Z","closed_at":null,"body":"Because `blastoff.sh` doesn't allow me to set `--prefix`, I had to use `install.sh` from the Git repo and got this error: (Japanese messages from GPG are irrelevant. Just jump to the bottom of the transcript.)\r\n\r\n```\r\n$ MULTIRUST_HOME=/tmp/mrh multirust update\r\nmultirust: installing toolchain 'stable'\r\nrustup: gpg available. signatures will be verified\r\nrustup: downloading manifest for 'stable'\r\nrustup: downloading toolchain for 'stable'\r\n######################################################################## 100.0%\r\ngpg: 署名されたデータが'/tmp/mrh/rustup/dl/bcc2c8d128d2c0ca91d5/rust-1.6.0-x86_64-unknown-linux-gnu.tar.gz'にあると想定します\r\ngpg: 2016年01月20日 19時49分50秒 SGTにRSA鍵ID 7B3B09DCで施された署名\r\ngpg: \"Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>\"からの正しい署名 [不明の]\r\ngpg: *警告*: この鍵は信用できる署名で証明されていません!\r\ngpg:       この署名が所有者のものかどうかの検証手段がありません。\r\n 主鍵フィンガープリント: 108F 6620 5EAE B0AA A8DD  5E1C 85AB 96E6 FA1B E5FE\r\n 副鍵フィンガープリント: C134 66B7 E169 A085 1886  3216 5CB4 A934 7B3B 09DC\r\nrustup: extracting installer\r\nrustup: installing toolchain for 'stable'\r\ninstall: creating uninstall script at /tmp/mrh/toolchains/stable/lib/rustlib/uninstall.sh\r\ninstall: installing component 'rustc'\r\ninstall: installing component 'rust-std-x86_64-unknown-linux-gnu'\r\ninstall: installing component 'rust-docs'\r\ninstall: installing component 'cargo'\r\n\r\n    Rust is ready to roll.\r\n\r\nmultirust: installing toolchain 'beta'\r\nrustup: gpg available. signatures will be verified\r\nrustup: downloading manifest for 'beta'\r\nrustup: downloading toolchain for 'beta'\r\n######################################################################## 100.0%\r\ngpg: 署名されたデータが'/tmp/mrh/rustup/dl/ffb2dedeebfce4a785d5/rust-beta-x86_64-unknown-linux-gnu.tar.gz'にあると想定します\r\ngpg: 2016年02月27日 10時36分07秒 SGTにRSA鍵ID 7B3B09DCで施された署名\r\ngpg: \"Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>\"からの正しい署名 [不明の]\r\ngpg: *警告*: この鍵は信用できる署名で証明されていません!\r\ngpg:       この署名が所有者のものかどうかの検証手段がありません。\r\n 主鍵フィンガープリント: 108F 6620 5EAE B0AA A8DD  5E1C 85AB 96E6 FA1B E5FE\r\n 副鍵フィンガープリント: C134 66B7 E169 A085 1886  3216 5CB4 A934 7B3B 09DC\r\nrustup: extracting installer\r\nrustup: installing toolchain for 'beta'\r\ninstall: creating uninstall script at /tmp/mrh/toolchains/beta/lib/rustlib/uninstall.sh\r\ninstall: installing component 'rustc'\r\ninstall: installing component 'rust-std-x86_64-unknown-linux-gnu'\r\ninstall: installing component 'rust-docs'\r\ninstall: installing component 'cargo'\r\n\r\n    Rust is ready to roll.\r\n\r\nmultirust: installing toolchain 'nightly'\r\nrustup: gpg available. signatures will be verified\r\nrustup: downloading manifest for 'nightly'\r\nrustup: downloading toolchain for 'nightly'\r\n######################################################################## 100.0%\r\ngpg: 署名されたデータが'/tmp/mrh/rustup/dl/883a73ed78cb78eea76a/rust-nightly-x86_64-unknown-linux-gnu.tar.gz'にあると想定します\r\ngpg: 2016年02月26日 19時31分35秒 SGTにRSA鍵ID 7B3B09DCで施された署名\r\ngpg: \"Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>\"からの正しい署名 [不明の]\r\ngpg: *警告*: この鍵は信用できる署名で証明されていません!\r\ngpg:       この署名が所有者のものかどうかの検証手段がありません。\r\n 主鍵フィンガープリント: 108F 6620 5EAE B0AA A8DD  5E1C 85AB 96E6 FA1B E5FE\r\n 副鍵フィンガープリント: C134 66B7 E169 A085 1886  3216 5CB4 A934 7B3B 09DC\r\nrustup: extracting installer\r\nrustup: installing toolchain for 'nightly'\r\ninstall: creating uninstall script at /tmp/mrh/toolchains/nightly/lib/rustlib/uninstall.sh\r\ninstall: installing component 'rustc'\r\ninstall: installing component 'rust-std-x86_64-unknown-linux-gnu'\r\ninstall: installing component 'rust-docs'\r\ninstall: installing component 'cargo'\r\n\r\n    Rust is ready to roll.\r\n\r\nmultirust: 'stable' update succeeded\r\nmultirust: 'beta' update succeeded\r\nmultirust: 'nightly' update succeeded\r\nmultirust: stable revision:\r\n\r\nrustc 1.6.0 (c30b771ad 2016-01-19)\r\nProcess didn't exit successfully: `rustc -vV` (exit code: 1)\r\n--- stderr\r\nmultirust: no default toolchain configured\r\n\r\n\r\nmultirust: beta revision:\r\n\r\nrustc 1.7.0-beta.4 (5ed7d4e31 2016-02-26)\r\nProcess didn't exit successfully: `rustc -vV` (exit code: 1)\r\n--- stderr\r\nmultirust: no default toolchain configured\r\n\r\n\r\nmultirust: nightly revision:\r\n\r\nrustc 1.8.0-nightly (15e9a95a4 2016-02-26)\r\nProcess didn't exit successfully: `rustc -vV` (exit code: 1)\r\n--- stderr\r\nmultirust: no default toolchain configured\r\n```\r\n\r\nI think the errors were due to the missing `default_file`.  After manually running `multirust default stable`, I no longer see those errors."},"comment":{"url":"https://api.github.com/repos/brson/multirust/issues/comments/193961010","html_url":"https://github.com/brson/multirust/issues/127#issuecomment-193961010","issue_url":"https://api.github.com/repos/brson/multirust/issues/127","id":193961010,"user":{"login":"brson","id":147214,"avatar_url":"https://avatars.githubusercontent.com/u/147214?v=3","gravatar_id":"","url":"https://api.github.com/users/brson","html_url":"https://github.com/brson","followers_url":"https://api.github.com/users/brson/followers","following_url":"https://api.github.com/users/brson/following{/other_user}","gists_url":"https://api.github.com/users/brson/gists{/gist_id}","starred_url":"https://api.github.com/users/brson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brson/subscriptions","organizations_url":"https://api.github.com/users/brson/orgs","repos_url":"https://api.github.com/users/brson/repos","events_url":"https://api.github.com/users/brson/events{/privacy}","received_events_url":"https://api.github.com/users/brson/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T20:50:57Z","updated_at":"2016-03-08T20:50:57Z","body":"I'm planning on making multirust-rs default to stable, not by setting the metadata value at install time, but by just falling back to stable if no default is set. I'd be happy to do that here too."}}