Trimming the version number to prevent Rails error: Malformed version number string 1.4.2-0-g61ac9d8
Using split instead of truncating
Merge pull request #120 from jacepp/version-trim

Had an issue when trying to read the Riak server's version number