Explain plugin failure message

This commit is contained in:
☈king 2012-12-31 20:16:41 -06:00 committed by rking@sharpsaw.org
parent 68758e49ab
commit 46439ca4b6
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@ class Pry
begin
require gem_name if !active?
rescue LoadError => e
warn "Warning: The plugin '#{gem_name}' was not found! (gem found but could not be loaded)"
warn "Warning: Found .gemspec for #{gem_name}, " +
"but failed to require '#{gem_name}'"
warn e
end