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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:56:16+00:00 2026-06-17T12:56:16+00:00

i just wanna ask if it is possible to create a gem out of

  • 0

i just wanna ask if it is possible to create a gem out of 2 working gems.

For example, i want to combine gem 1 and gem 2 to create gem 3.

gem 1 + gem 2 = gem 3

I know it is possible to create a gem from scratch.
But what I want to accomplish is to create a gem by mixing 2 opensource gems.

With that, I dont need to add 2 separate gems inside my dying GEMFILE.

Are there any tools or something that I need to have…. in order to accomplish that?

Thanks in advance.

  • 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-17T12:56:18+00:00Added an answer on June 17, 2026 at 12:56 pm

    Gems contains files that perform specific task.

    Combining two gems is just like copying contents of one gem into another to make it one. The disadvantage of doing so is it will increase the dependency and it will be fit for specific purpose or task in your project. So at later stage if you want to change your code or modify it, it may be that modification will only happen if you change or replace one of the gem with other but since you merged it onto other, you again need to go back to what you had previously.

    Secondly, if one gem is updated on remote site then you will not be able to update the same in your application as its merged. Again you need to extract gems, update and merge again.

    Having so, merging isn’t a good practice although possible as it will diminish the code usage and flexibility.

    So it will be good to only need to add one line of code in your gemfile.

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

Sidebar

Related Questions

I just wanna ask if there's a way in C#/ASP.NET to create 'dynamic' tables/fields
Guys i just wanna ask if there's a possibility: for example $currenttext = someexamplepls;
I just wanna ask this very trivial question, I do not know if this
i just wanna know is it possible to display the Calendar in the month
I am a new newbie to android. Just wanna know how could we create
I just wanna ask if there's a way where I could put an object
I just wanna ask your opinion/suggestion on how to 'terminate' a running application/process is
I just wanna ask if there's a possibility to retrieve the contents of a
i am using vb.net i just wanna ask if we can place a picture
I just wanna find out if there's a way I could minimize code clutter

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.