{"action":"created","issue":{"url":"https://api.github.com/repos/DoomHammer/brewstrap/issues/10","repository_url":"https://api.github.com/repos/DoomHammer/brewstrap","labels_url":"https://api.github.com/repos/DoomHammer/brewstrap/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/DoomHammer/brewstrap/issues/10/comments","events_url":"https://api.github.com/repos/DoomHammer/brewstrap/issues/10/events","html_url":"https://github.com/DoomHammer/brewstrap/issues/10","id":185057415,"number":10,"title":"Brewstrap on ArchLinux Chroot","user":{"login":"aghasemi","id":7351535,"avatar_url":"https://avatars.githubusercontent.com/u/7351535?v=3","gravatar_id":"","url":"https://api.github.com/users/aghasemi","html_url":"https://github.com/aghasemi","followers_url":"https://api.github.com/users/aghasemi/followers","following_url":"https://api.github.com/users/aghasemi/following{/other_user}","gists_url":"https://api.github.com/users/aghasemi/gists{/gist_id}","starred_url":"https://api.github.com/users/aghasemi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghasemi/subscriptions","organizations_url":"https://api.github.com/users/aghasemi/orgs","repos_url":"https://api.github.com/users/aghasemi/repos","events_url":"https://api.github.com/users/aghasemi/events{/privacy}","received_events_url":"https://api.github.com/users/aghasemi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"DoomHammer","id":695373,"avatar_url":"https://avatars.githubusercontent.com/u/695373?v=3","gravatar_id":"","url":"https://api.github.com/users/DoomHammer","html_url":"https://github.com/DoomHammer","followers_url":"https://api.github.com/users/DoomHammer/followers","following_url":"https://api.github.com/users/DoomHammer/following{/other_user}","gists_url":"https://api.github.com/users/DoomHammer/gists{/gist_id}","starred_url":"https://api.github.com/users/DoomHammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoomHammer/subscriptions","organizations_url":"https://api.github.com/users/DoomHammer/orgs","repos_url":"https://api.github.com/users/DoomHammer/repos","events_url":"https://api.github.com/users/DoomHammer/events{/privacy}","received_events_url":"https://api.github.com/users/DoomHammer/received_events","type":"User","site_admin":false},"assignees":[{"login":"DoomHammer","id":695373,"avatar_url":"https://avatars.githubusercontent.com/u/695373?v=3","gravatar_id":"","url":"https://api.github.com/users/DoomHammer","html_url":"https://github.com/DoomHammer","followers_url":"https://api.github.com/users/DoomHammer/followers","following_url":"https://api.github.com/users/DoomHammer/following{/other_user}","gists_url":"https://api.github.com/users/DoomHammer/gists{/gist_id}","starred_url":"https://api.github.com/users/DoomHammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoomHammer/subscriptions","organizations_url":"https://api.github.com/users/DoomHammer/orgs","repos_url":"https://api.github.com/users/DoomHammer/repos","events_url":"https://api.github.com/users/DoomHammer/events{/privacy}","received_events_url":"https://api.github.com/users/DoomHammer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-10-25T08:58:25Z","updated_at":"2016-11-07T13:56:05Z","closed_at":null,"body":"Hi,\nThanks for the effort.\nI tried to run this with my Fedora as the host and an [ArchLinux chroot](https://wiki.archlinux.org/index.php/Install_from_existing_Linux#Creating_the_chroot) as the target. However, when running brewstrap script I got this:\n\n```\nDon't run this as root!\nbrewstrap-0.1.sh: line 32: brew: command not found\nbrewstrap-0.1.sh: line 36: brew: command not found\nsed: can't read /root/.linuxbrew/Library/Homebrew/utils.rb: No such file or directory\nbrewstrap-0.1.sh: line 39: brew: command not found\nsed: can't read /root/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/perl.rb: No such file or directory\nbrewstrap-0.1.sh: line 57: brew: command not found\nbrewstrap-0.1.sh: line 60: brew: command not found\nbrewstrap-0.1.sh: line 65: brew: command not found\nbrewstrap-0.1.sh: line 65: brew: command not found\nbrewstrap-0.1.sh: line 65: brew: command not found\nbrewstrap-0.1.sh: line 65: brew: command not found\nbrewstrap-0.1.sh: line 65: brew: command not found\nbrewstrap-0.1.sh: line 65: brew: command not found\nbrewstrap-0.1.sh: line 65: brew: command not found\nbrewstrap-0.1.sh: line 65: brew: command not found\nbrewstrap-0.1.sh: line 65: brew: command not found\nbrewstrap-0.1.sh: line 85: brew: command not found\ntail: cannot open '/bin/brew' for reading: No such file or directory\nsed: can't read /root/.linuxbrew/bin/brew: No such file or directory\nsed: can't read /root/.linuxbrew/Library/brew.sh: No such file or directory\nsed: can't read /root/.linuxbrew/Library/ENV/scm/git: No such file or directory\nsed: can't read /root/.linuxbrew/Library/Homebrew/utils.rb: No such file or directory\nsed: can't read /root/.linuxbrew/Library/Homebrew/keg_relocate.rb: No such file or directory\ntail: cannot open '/bin/brew' for reading: No such file or directory\nYou may now `sbrew uninstall brewstrap`\n```\n\nI'm totally lost. Why does it expect to find `brew` somewhere while it is supposed to install it on the system?\n\nThank you and sorry for my naivety.\nBest\n"},"comment":{"url":"https://api.github.com/repos/DoomHammer/brewstrap/issues/comments/258841358","html_url":"https://github.com/DoomHammer/brewstrap/issues/10#issuecomment-258841358","issue_url":"https://api.github.com/repos/DoomHammer/brewstrap/issues/10","id":258841358,"user":{"login":"DoomHammer","id":695373,"avatar_url":"https://avatars.githubusercontent.com/u/695373?v=3","gravatar_id":"","url":"https://api.github.com/users/DoomHammer","html_url":"https://github.com/DoomHammer","followers_url":"https://api.github.com/users/DoomHammer/followers","following_url":"https://api.github.com/users/DoomHammer/following{/other_user}","gists_url":"https://api.github.com/users/DoomHammer/gists{/gist_id}","starred_url":"https://api.github.com/users/DoomHammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoomHammer/subscriptions","organizations_url":"https://api.github.com/users/DoomHammer/orgs","repos_url":"https://api.github.com/users/DoomHammer/repos","events_url":"https://api.github.com/users/DoomHammer/events{/privacy}","received_events_url":"https://api.github.com/users/DoomHammer/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T13:56:05Z","updated_at":"2016-11-07T13:56:05Z","body":"It should install brew first and then run it. The problem is, though, you are running it as root which effectively prevents Linuxbrew from being installed. I shall make the script more resilient in such scenarios I believe."}}
{"actor":{"display_login":"DoomHammer"}}