carlhuda/bundler — pull request #2069 by jdelStrother (2012-08-20 23:19:16+00:00)
Title: Suggest alternatives when typoing gem names

eg
$ bundle open thinking_sphinx
Could not find gem 'thinking_sphinx'.
Did you mean thinking-sphinx?

This is basically a repeat of https://github.com/carlhuda/bundler/pull/2050, but now supports bundle-open and bundle-update typos, and is somewhat refactored.
I'm not loving the implementation, but it works fine... would be open to any suggestions.