Suggest alternatives when typoing gem names #2069

Merged
merged 1 commit into from Aug 21, 2012

Projects

None yet

3 participants

@jdelStrother

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

This is basically a repeat of #2050, but now supports both 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.

@jdelStrother jdelStrother Suggest alternatives when typoing gem names
eg
$ bundle open thinking_sphinx
Could not find gem 'thinking_sphinx'.
Did you mean thinking-sphinx?
a567307
@travisbot

This pull request passes (merged a567307 into 4d163e8).

@indirect
Member

Excellent. Thanks for the patch, and the tests, they are both much appreciated. :)

@indirect indirect merged commit 472a53b into bundler:master Aug 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment