Summary:
This fails to extract the version correctly locally.
```
> ruby --version
ruby 1.8.7 (2014-01-28 patchlevel 376) [x86_64-linux]
```
Test Plan: `arc unit`
Reviewers: epriestley, #blessed_reviewers
Reviewed By: epriestley, #blessed_reviewers
Subscribers: Korvin
Differential Revision: https://secure.phabricator.com/D14525
list($stdout) = execx('%C --version', $this->getExecutableCommand());
$matches = array();
- $regex = '/^ruby (?P<version>\d+\.\d+\.\d+)p\d+/';
+ $regex = '/^ruby (?P<version>\d+\.\d+\.\d+)+/';
if (preg_match($regex, $stdout, $matches)) {
return $matches['version'];
} else {