Added compatibility for ruby 1.8.7

* Monkeypatched `Dir` to include `home`
* Changed params for proc
What is wrong with comparing strings? How should I do it?