summaryrefslogtreecommitdiff
path: root/gem_prelude.rb
diff options
context:
space:
mode:
Diffstat (limited to 'gem_prelude.rb')
-rw-r--r--gem_prelude.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/gem_prelude.rb b/gem_prelude.rb
index 3f171d1..be9c419 100644
--- a/gem_prelude.rb
+++ b/gem_prelude.rb
@@ -1,7 +1,8 @@
if defined?(Gem)
require 'rubygems.rb'
begin
+ gem 'did_you_mean'
require 'did_you_mean'
- rescue LoadError
+ rescue Gem::LoadError, LoadError
end if defined?(DidYouMean)
end