We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d08952 + 846b794 commit 8c1fae2Copy full SHA for 8c1fae2
Gemfile
@@ -33,7 +33,8 @@ group :test do
33
else
34
gem "webmock"
35
end
36
- if RUBY_VERSION >= '2.5.0'
+ if RUBY_VERSION >= '1.9'
37
+ # `did_you_mean` can't build with Ruby 1.8.
38
gem 'did_you_mean'
39
40
lib/thor/error.rb
@@ -15,7 +15,7 @@ def initialize(dictionary)
15
16
17
DidYouMean::Correctable
18
- rescue LoadError
+ rescue LoadError, NameError
19
20
21
# Thor::Error is raised when it's caused by wrong usage of thor classes. Those
0 commit comments