176 reputation
15
bio website
location
age
visits member for 2 years, 6 months
seen Aug 12 at 12:43

May
5
awarded  Caucus
Dec
27
comment Shebangs do not like sudo in OSX
Hah - excellent answer! I thought the shebang would fail with that many params to env. On OSX, sudo and ruby can be written without /usr/bin, though for some reason, bizarrely, Ubuntu needs the /usr/bin on ruby. This leaves me with a problem, as my ruby is in ~/.rbenv/stubs/ruby - maybe I should symlink it and be done! Thanks though, you've got me much closer to a nice solution!
Dec
21
awarded  Editor
Dec
21
revised Shebangs do not like sudo in OSX
added 5 characters in body
Dec
21
answered Shebangs do not like sudo in OSX
Dec
21
comment Shebangs do not like sudo in OSX
It's a ruby script that needs to modify system files. It's for personal use, so I don't care about others abusing the facility, but I don't want to have to type sudo command_name every time. Or, more to the point, I don't want to forget to type sudo and have to type sudo !!. tldr; I'm lazy :)
Dec
21
asked Shebangs do not like sudo in OSX
Oct
30
answered Was Windows 95 an Operating System?
Jul
24
awarded  Caucus
Jul
24
awarded  Constituent
Jul
14
awarded  Teacher
Jul
14
answered wget doesn't want to accept GET argument
Jul
14
answered Windows7 no longer boots after moving hard-disk to other computer
Jul
14
answered Test my mouse online
Jun
25
comment “whereis” and “which” return different paths in Mac OS X
Have the same problem with psql on OS X - unfortunately user.cs_path is not writable. Getting closer to my solution though, thanks for such a useful answer!
May
14
awarded  Supporter