[SVN] r6316

Charilaos Skiadas cskiadas at uchicago.edu
Fri Dec 8 23:58:25 UTC 2006


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



More information about the textmate-dev mailing list