gitlabhq/grit — pull request #13 by xdissent (2013-03-11 19:49:30+00:00)
Title: Remove Dir.chdir for thread-safety

Dir.chdir doesn't work in multithreaded/async environments. The `native` method has support for a `:chdir` option though. There are probably chdir's I've missed but this is a start.