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
| [email protected]   http://www.lucas-nussbaum.net/ |
| jabber: [email protected]             GPG: 1024D/023B3F4F |

_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to