Do not use LOAD_PATH, use the traditional require approach instead. If 
LOAD_PATH is used, and another program requires both dialog.rb and 
plist.bundle, then plist is loaded twice because Ruby sees the relative path 
'plist' and the absolute path File.dirname(__FILE__) + '/plist' as two 
different paths, hence different modules, and loads plist twice. Since plist is 
defining a constant, that leads to a warning.

Changed:
U   trunk/Support/lib/dialog.rb

_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/mailman/listinfo/textmate-dev

Reply via email to