[DRE-maint] ruby-support question

Christopher Lunsford binarymutant at gmail.com
Sun May 10 20:28:16 UTC 2009


Okay, I was playing with it some more last night. I did see the
*.install file, and it did take care of my first problem thank you :)
It installs to /usr/lib/ruby-support/ but isn't linking to
/usr/lib/ruby/vendor_ruby/   :(

On Sun, May 10, 2009 at 12:58 PM, Lucas Nussbaum
<lucas at lucas-nussbaum.net> wrote:
> On 09/05/09 at 08:14 -0400, Christopher Lunsford wrote:
>> I know I may be jumping the gun with ruby-support but I'm testing my
>> package out with it and I keep getting this error:
>>
>> dh_ruby -plibwww-delicious-ruby
>> No source dir found. You need to install your library's file
>> into one of the standard Ruby library path:
>>   /usr/lib/ruby/vendor_ruby/1.8
>>   /usr/lib/jruby1.0/lib/ruby/site_ruby/1.8
>>   /usr/lib/jruby1.1/lib/ruby/site_ruby/1.8
>>   /usr/lib/ruby/vendor_ruby/1.9.0
>>   /usr/lib/ruby/vendor_ruby/1.9.1
>> dh_ruby: command returned error code 256
>>
>> The example libtorrent-ruby builds great with ruby-support so I'm
>> thinking that I must be doing something wrong. Is it to early in
>> ruby-support's life to ask how to get rid of this error?
>> Thanks for taking the time to read this email :)
>
> The trick is to install your files in /usr/lib/ruby/vendor_ruby/1.8, not
> in /usr/lib/ruby/1.8.
> $ cat debian/ruby-torrent.install
> rubytorrent* /usr/lib/ruby/vendor_ruby/1.8
>
> This should probably be handled automatically by a ruby-support cdbs
> class that would replace the current class.
> --
> | Lucas Nussbaum
> | lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
> | jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |
>



More information about the Pkg-ruby-extras-maintainers mailing list