fixes #292.

Default to using gem version class, but fall back to string compare if abnormal version string is used

cc @schisamo since he mentioned taking this approach.