diff --git a/lib/env.js b/lib/env.js
index <HASH>..<HASH> 100644
--- a/lib/env.js
+++ b/lib/env.js
@@ -3,7 +3,7 @@
 exports.isNode = 'undefined' != typeof process
            && 'object' == typeof module
            && process.argv
-           && /node/.test(process.argv[0]);
+           && /node|coffee/.test(process.argv[0]);
 
 exports.isMongo = !exports.isNode
            && 'function' == typeof printjson
Added 'coffee' to executables in env test