1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

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

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