DH-MAKE-RUBY(1)

πŸ’– DH-MAKE-RUBY πŸ’–

okay bestie, so this is the manual for dh-make-ruby β€” section 1 of the manual pages, the one you pull up when you type man dh-make-ruby. it's a Debian tool, it makes source packages out of Ruby libraries, and honestly? it's giving "I do the boring parts so you don't have to." πŸŽ€


✨ NAME ✨

dh-make-ruby β€” build Debian source package from Ruby library


✨ USAGE ✨

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

✨ DESCRIPTION ✨

so here's the tea πŸ“: dh-make-ruby will create a basic Debian source package from a tarball named *TARBALL* that was generated with gem2tgzβ€” or from a *DIRECTORY* that's holding Ruby code plus metadata in a.gemspec` file.

and if you pass no argument at all? it just builds a Debian source package from the current directory. no fuss, no drama, it just goes. πŸ’…


✨ OPTIONS ✨

  • -p PACKAGE, --package PACKAGE β€” uses PACKAGE as the package name. by default, new packages get named ruby-$gem, where $gem is the upstream name. now listen: if the package is mainly a library, keep the default, it's iconic. but if the package is mainly an application, then you should drop the ruby- prefix by using this option with an explicit package name. πŸ‘‘
  • -w, --overwrite β€” overwrites packaging files that already exist but that would have been created by dh-make-ruby if they didn't. one exception, and it's a big one: debian/copyright is never touched. not today, not ever. πŸ™ˆ
  • -h, --help β€” displays the help ✨
  • -v, --version β€” displays version information and exits. bye bestie πŸ‘‹
  • --no-wnpp-check β€” stops dh-make-ruby from checking WNPP reports to get the number of a possible ITP (intend to package) bug report. by default it does check these reports, which means it needs Internet access. so if you're offline-ish, this is your girl. πŸ¦‹
  • --no-dependencies β€” skips the dependency detection that's based on Rubygems and APT metadata. ngl, you should usually not do this, unless you know exactly what you're doing. 😭
  • -o, --offline β€” prevents dh-make-ruby from accessing the internet at all. full airplane mode, no cap. ✈️

✨ SEE ALSO ✨

gem2deb(1), dh_ruby(1)

go read those too, they're the besties of this page. 🫢


Copyright (c) 2011, Lucas Nussbaum <lucas@debian.org>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.


okay that's the whole page, you ate it πŸ’– this was dh-make-ruby(1), dated 2026-05-15 β€” same day, same page, section one, main character energy only πŸŒˆβœ¨πŸ¦‹

πŸ“¦ where this page comes from