From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Sat, 22 Aug 2009 13:23:17 -0700 Subject: [sup-talk] Exception trying to run git source In-Reply-To: <1250717434-sup-4489@yoom.home.cworth.org> References: <1250642676-sup-2244@yoom> <1250698636-sup-6732@masanjin.net> <1250699596-sup-8133@ntdws12.chass.utoronto.ca> <1250704257-sup-3308@yoom> <1250707794-sup-6173@masanjin.net> <1250710221-sup-925@yoom.home.cworth.org> <1250712045-sup-3506@masanjin.net> <1250717434-sup-4489@yoom.home.cworth.org> Message-ID: <1250964942-sup-8625@masanjin.net> Reformatted excerpts from Carl Worth's message of 2009-08-19: > I ran an strace on the ruby process[*] and was able to plainly see > that modules were being correctly loaded from ./lib until after > /usr/lib/ruby/1.8/chronic.rb was loaded. After that, ruby would look > for modules in /usr/lib/ruby/1.8 before ./lib. And sure enough, the > first line of my chronic.rb has: > > $:.unshift File.dirname(__FILE__) # For use/testing when no gem is installed I'd call that a bug in chronic. It shouldn't be screwing with the load path. Nice debug work. -- William