-
Notifications
You must be signed in to change notification settings - Fork 613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added did you mean to rake #221
Conversation
My name is Eric Hodel and I approve this pull request. |
I'm helping @xtina-starr contribute to a Ruby core project and paired on this PR. This change should work fine in all the Ruby versions Rake currently supports, and it should be good to merge. asking @drbrain and @zzak for a review since you two were part of the conversation in the previous PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
f831b47
to
e40db1d
Compare
Signed-off-by: Yuki Nishijima <yuki@artsymail.com>
e40db1d
to
d54013d
Compare
Looks useful improvement. I will release rake-12.1.0 contained this pull request. |
I released rake-12.1.0. |
This reverts commit 36f4c9e. This has been moved to the rake side: ruby/rake#221
Is this functionality automatically invoked? @xtina-starr @hsbt It doesn't seem to work for me, instead I get an error like below -
|
It is automatically invoked if the
|
No I don't have the gem installed. I figured it came with Ruby 2.4 as a default gem. I have Ruby 2.4 installed (Windows) and according to the docs on
|
Then it's an issue in the installer you used to install/compile Ruby. It's likely you are missing all the bundled gems in your system and you'd have to install them by yourself. |
@yuki24 You are right, I tried installing v1.2.0 of I installed v1.1.2 manually and the suggestions now work as expected! Thanks for your help 👍 |
This is a follow up of an older PR that added a better message for invalid rake task names. The proposed change uses did you mean in order make a rake task suggestion in addition to the default error message.