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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:15:30+00:00 2026-06-04T04:15:30+00:00

I work with a team of developers that is transitioning to Ruby on Rails

  • 0

I work with a team of developers that is transitioning to Ruby on Rails for some web development projects. We expect that in the development process we will develop shared code. I understand that Gems are one method to share code, but in some cases a Module may be a better approach for us from a development standpoint.

My question is if Programmer A develops a module that Programmer B would like to use in his/her project, what is the best way(s) to do it when the module is in a Git repository? For example, Programmer A might maintain the module, and Programmer B may want to take advantage of new features in the module, so Programmer B simply copying the module file into his/her application isn’t an option.

Assume that a SharedModules repository exists which holds various modules (e.g., module1.rb, module2.rb, etc) in a Modules folder. Programmer B can clone the SharedModules repository, but may be interested in just using one module (module1.rb) in his/her application. How can Programmer B accomplish this and still ensure that pulling the SharedModules repository will update module1.rb in his/her application? Is there some kind of symlink-based approach?

  • 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-04T04:15:31+00:00Added an answer on June 4, 2026 at 4:15 am

    You could setup a repo for each module and then use git Submodules: http://git-scm.com/book/en/Git-Tools-Submodules

    Submodules allow you to
    keep a Git repository as a subdirectory of another Git repository.
    This lets you clone another repository into your project and keep your
    commits separate.

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

Sidebar

Related Questions

For some reason our developers can only add projects that they've created to Team
Our development team uses Eclipse + Aptana to do their web development work. Currently,
I work as part of a team creating an enterprise application that will be
I work with a team that uses Behaviour Driven Development(BDD) to deliver our applications.
How does one do team development with node.js when all the developers develop on
I'm starting work on a multi-page web application using Ruby on Rails 3. My
I work with a team that has a sharepoint site currently runnning and its
I work on a small Agile development team which is part of a large,
Team Foundation Server 2008 allows that every check-in is associated with a work item,
My team (3 developers) will be building a Silverlight LOB application. This is the

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.