| Message: 92811 |
 |
BY: Dan Rathbun (danzoid61) DATE: 2010-02-23 17:34 SUBJECT: RE: no such file to load -- win32/eventlog I wrote:
<<
.. or in irb you might try
puts $:.join("\n")
>>
Here's another neat trick.
If you have a custom setup ruby that runs, and loads tools, macros, whatever ... helpers.
you can put in it a singleton method just for the $LOAD_PATH ($:) to list it whenever you want.
def $:.list
puts self.join("\n")
end
Then you can type either of these:
$:.list
$LOAD_PATH.list
and you'll send a listing to STDOUT. | |