Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8520427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:32:00+00:00 2026-06-11T06:32:00+00:00

I have a command-line utility called Maid that I currently distribute as a RubyGem

  • 0

I have a command-line utility called Maid that I currently distribute as a RubyGem. I’d also like to distribute it as a .deb package to make it easier for Ubuntu users to install.

Right now, Ubuntu users have to do quite a bit manually, especially for someone unfamiliar with Ruby:

sudo apt-get install ruby
sudo apt-get install rubygems
# Make sure `ruby` and `gem` are in `$PATH`
sudo gem install maid
maid version # example command

Ideally, I want a single command to install on a fresh Ubuntu installation:

sudo apt-get install maid
maid version # example command

The suite of gem2deb tools (gem2tgz, dh-make-ruby, etc.) are almost what I’m looking for. But by default gem2deb doesn’t package any of the gem dependencies that are required. Maid is really simple and only depends on thor at runtime. (Edit: as Maid has evolved, and now has more dependencies.) But without that dependency, nothing works.

So, how do I package this Ruby application for Ubuntu and also include its gem dependencies? Are there any other tools I could use or tutorials/examples I could follow?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T06:32:01+00:00Added an answer on June 11, 2026 at 6:32 am

    Because apt-get and gem are both dependency resolving, you can just make a meta package that depends on ruby1.9.1 (which itself brings in Rubygems and everything else). Then in the post-install script, just do a sudo gem1.9.1 install maid.

    I can’t lay out the whole process of making a package here, but there are a lot of good tutorials on it around the web.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to make a command-line utility that does some operations based on reflection
Group, Part 1: I'm currently working on a command line utility that can take
Is there some utility that could be called via command line to produce a
I have a small command line utility project that I'm using Maven to manage.
I have a command-line utility that gets quite a bit of downloads from my
Well, the subject says it all, basically. I have a command-line utility that may
I have a Perl module CSS::Minifier that I need to make executable (command line
I have a program which runs an external, command line utility and reads the
I have a command line tool written in c# (that i have the source
I have a command line program that prints out a report such as: I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.