-
-
Save mxcl/323731 to your computer and use it in GitHub Desktop.
Can we get an explanation of why it doesn't work so we can fix it more effectively?
Oops, 2am typo there, what I meant was...
i = getc
abort unless i == 10 or i == 13
I have no idea why \r is getting sent instead of \n for me.
Modified. Thanks.
Pull request: http://gist.github.com/1836995
Changed shebang to #!/usr/bin/env ruby
so other rubies can be used (in case user has removed the default system ruby)
Ideally instead of saying "use su
", this script should say "su to a non-root admin user". It got me confused when it said to just use su
, and then said "don't run this as root".
I'll remove the su, bit. Since apparently people don't realise what it means. Nobody understands unix anymore.
I understand Unix and it confused me.
The script says:
If you still want to use this script set your user to be an Administrator in System Preferences or `su'.
It should be more specific and say to su
as an administrator user. I figured that root was effectively an administrator, because I'm new to MacOS. The language just isn't precise.
I have amended it as you suggested. Thanks.
Link to wrong url -> new url raw.github.com/mxcl/homebrew/go
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
Broken link D:
To install :
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Broken link
use command
adduser bob
su - bob
and then run
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
Ok. In my quick tests, I'm getting
Can we change the line to be:
Or am I off my rocker here?