dh-make-ruby(1)

dh-make-ruby1

Build debian source package from ruby library

Usage

dh-make-ruby [OPTIONS] [TARBALL|DIRECTORY]

Overview

dh-make-ruby will create a basic Debian source package from a tarball named TARBALL generated with gem2tgz, or from a DIRECTORY containing Ruby code and metadata in a .gemspec file. If no argument is specified, dh-make-ruby will build a Debian source package from the current directory.

Options

-p PACKAGE, --package PACKAGE

Uses PACKAGE as package name. By default, new packages will be named as ruby-$gem, where $gem is the upstream name. If the package is mainly used as a library, then it should use the default. On the other hand, if the packages is mainly used as an application, then you should drop the ruby- prefix by using this option an explicit package u.

-w, --overwrite

Overwrites packaging files that already exists but would be created by dh-make-ruby if they didn't. Exception: debian/copyright is never touched.

-h, --help

Displays the help

-v, --version

Displays version information and exits.

--no-wnpp-check

Prevents dh-make-ruby to check wnpp reports to get the number of a possible ITP (intend to package) bug report. By default, dh-make-ruby does check these reports, which requires an Internet access.

--no-dependencies

Skips the dependency detection based on Rubygems and APT metadata. You should usually not do this, unless you know what you are doing.

-o, --offline

Prevents dh-make-ruby from accessing the internet at all.

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

--no-dependencies since Debian 11 (Bullseye); --no-wnpp-check since Debian 8 (Jessie); --offline since Debian 10 (Buster); --overwrite since Debian 9 (Stretch); -o since Debian 10 (Buster); -w since Debian 9 (Stretch).

--ruby-versions until Debian 11 (Bullseye).

From gem2deb 2.2.5 in Debian 13 (Trixie). Parsed by carta from the page's man source.