From: "Mario T. Lanza" Date: 2008-01-11T11:04:17+09:00 Subject: Logging when files are required/loaded Hi all, I am wondering if there is a quick and dirty way of displaying via "puts" the relative path name of files as required or loaded within the console. It would be useful for debugging. Presently I have a line at the top of my files something like: puts "Loading somefile.rb..." This has been invaluable for diagnosing most errors. Obviously, in a dynamic language this seems silly. Somehow I know the ability to do this in a few lines of code is build straight into ruby. Thanks much. Mario -- Posted via http://www.ruby-forum.com/.