Re: how to handle hard coded library paths?
2011/8/22 Lucas Nussbaum <lucas@lucas-nussbaum.net>:
> 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'
Thanks it works! I sent it as a pull request upstream.
https://github.com/djanowski/cutest/pull/2
--
പ്രവീണ് അരിമ്പ്രത്തൊടിയില്
You have to keep reminding your government that you don't get your
rights from them; you give them permission to rule, only so long as
they follow the rules: laws and constitution.
Reply to: