Guest User

Untitled

a guest
May 25th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. # Monkey-patch LoadError's message to include the current $LOAD_PATH.
  2. class LoadError
  3. def message
  4. super + "\ncurrent path:\n" + $LOAD_PATH.join("\n")
  5. end
  6. end
Add Comment
Please, Sign In to add comment