Added ruby-version to gitignore
Fixed deprecation warning for mocha in tests
Refactored worker handle_error
Refactoring
Refactoring threads_on_forks