Let's add [`parallel` gem](https://github.com/grosser/parallel) and use `Parallel.processor_count` to determine the number of cores. (http://stackoverflow.com/questions/891537/ruby-detect-number-of-cpus-installed#comment8434546_6420817)