On 22/08/11 at 19:46 +0530, Praveen A wrote: > [I have joined this list now] > > cutest binary is looking for library files in /usr/lib/ > > http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;bug=638829 > > Is there any standard way of fixing this? I'm new to ruby packaging > and I could not find anything at > http://wiki.debian.org/Teams/Ruby/Packaging#Handling_of_shebangs > > I manually edited /usr/bin/cutest to check it and it works.
yes, that's a bug in the upstream source. You can fix it with a debian-specific patch (to push upstream). The correct way to fix that is usually to do something like: $:.unshift File.join(File.dirname(__FILE__), '..', 'lib') require 'foo' -- | Lucas Nussbaum | [email protected] http://www.lucas-nussbaum.net/ | | jabber: [email protected] GPG: 1024D/023B3F4F | -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

