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 7414089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:00:13+00:00 2026-05-29T07:00:13+00:00

Firstly, I’m not using rails. This is vanilla ruby application. I’ve read about packaging

  • 0

Firstly, I’m not using rails. This is vanilla ruby application. I’ve read about packaging a CLI ruby application as a GEM.

So I guess my question would be, is this the ruby way? Does this layout lend itself to class autoloading?

I’m coming from a PHP background where I’m used to application layouts that adhere to PSR-0 style (see examples section).

  • 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-05-29T07:00:14+00:00Added an answer on May 29, 2026 at 7:00 am

    Yes, the way to build and distribute a Ruby command-line app is more or less as that article describes:

    • bin – exe goes here
    • lib/your_app.rb – requires all files under lib/your_app
    • lib/your_app/whatever.rb – modules and files to build your command-line app
    • your_app.gemspec – gemspec; make sure you mention that there’s a bin file
    • Rakefile – manage development
    • test – yup, tests

    It’s completely OK to break up your app into classes and modules inside lib. By distributing with RubyGems the command-line app will be in the user’s path and it will have access to everything in lib.

    RubyGems has first-class support for distributing command-line apps; it’s not just for libraries.

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

Sidebar

Related Questions

Firstly, this is not a question about repository synchronisation for which there are numerous
Firstly, I do not have any malicious intent out of this question. I would
Firstly this is not a homework question. I am practicing my knowledge on java.
Firstly, sorry about the question title, it may not be very descriptive for my
(Firstly, as a disclaimer, this is related to an assignment. I'm not asking anyone
Firstly I am using this for the ListView control itself: ItemsSource={Binding AllEffects} So would
firstly bear with me this might not come out the way i intend it
Firstly: I am totally a newbie for this kind of work. I have a
Firstly, I want to apologize for my English, not my strongest side. To the
Firstly, I am not at all familiar with Windows batch file programing. Recently 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.