[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: require rubygems question



Hi Olivier,

On Sat, Oct 01, 2011 at 10:30:43AM +0200, Olivier Sallou wrote:
> I want to add a new package from an existing gem (I am upstream author). 

> I'd like to know how to avoid the rubygems dependency in the ruby gem
> library.  The package indeed depend on an other gem. If I remove the
> require 'rubygems' from the code, the gem code is not found when
> running unit tests. 

I believe that if you have the require "yourlib" in the ruby file, and
ruby-yourlib listed in the Build-Depends: control field, everything
should work as expected.

What is the exact package in the repository you are talking about, so
that we can have a look?

Best wishes,

	Cédric

Attachment: signature.asc
Description: Digital signature


Reply to: