carlhuda/bundler — pull request #1515 by sleeper (2011-11-03 11:45:25+00:00)
Title: Fix which stderr (Issue #1321)

bundler checks for sudo availability by using which.
Depending on the platform or distribution, which output an
error message on stderr in case sudo is not found.

This fix redirect stderr to /dev/null. Agreed this is a *nixish way to
fix it, but as on other platforms (Windows) which does not exists anyway
...