On Fri, 17 Oct 2014 13:25:42 +0000, Ciro Santilli wrote: ... > The problem is that the `/usr/bin` breaks "interpreter version manager > systems" like RVM, rbenv, virtualenv, etc. since people will write > hooks like: > > #!/usr/bin/env ruby > > and the `/usr/bin` ruby will get run instead of the managed one And that is the right thing to do. What ruby to execute with is a property of the hook script, not of the virtualenv a user happens to be in. If you want virtualenvs, you should set up the right one within the hook script. ... > - documenting this behavior *very* clearly on `man githooks` That would still be a good thing to do. Andreas -- "Totally trivial. Famous last words." From: Linus Torvalds <torvalds@*.org> Date: Fri, 22 Jan 2010 07:29:21 -0800 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html