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:
parent
68758e49ab
commit
46439ca4b6
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue