parse rubyspec output more correctly.