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

Re: require rubygems question



On Mon, Oct 03, 2011 at 09:34:00AM +0200, Olivier Sallou wrote:

> This is a new package I am creating . My gem "Cassiopee" depends on gem
> "Text" (both are not yet packaged).
> The "problem" is with the gem2deb command on gem Cassiopee.
> I have for the moment, in my gem lib, a require "rubygems" and a require
> "Text". The rubygem require raises an error in the gem2deb command.

> I'd like to remove the require "rubygems" as I saw it was a better way.
> Though it could be ok in Debian, with the Depends control, I expect my
> gem to work also out of Debian world. If I remove the rubygem require,
> then test suite fails because it does not find the external dependency.

> So I  wonder how to remove the require rubygems and keep my lib working.

Did you have a look at the following page:
  http://wiki.debian.org/Teams/Ruby/RubyExtras/UpstreamDevelopers
on the Debian wiki?
It gives some guidelines for upstream authors that would ease
integration of the software into Debian. Note that many upstream authors
(still) ship their software with require "rubygems" statements. The
corresponding source is patched at build time to remove these
statements to create the Debian package.

Best wishes,

	Cédric

Attachment: signature.asc
Description: Digital signature


Reply to: