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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:08:39+00:00 2026-06-12T23:08:39+00:00

So, i have a mercurial repository that has a main project and 2 extensions

  • 0

So, i have a mercurial repository that has a main project and 2 extensions to the project. lets call project A and the extensions B and C. Thus, the repo has 3 folders, A, B, and C inside the repo, and in my local computer the folders are in “~/Documents/Aptana Studio 3 Workspace/”. In project A’s gemfile, i have the following lines:

gem "B", :path => "~/Documents/Aptana Studio 3 Workspace/B/"
gem "C", :path => "~/Documents/Aptana Studio 3 Workspace/C/"

When i deploy with Capistrano, i get the error: “The path /home/username/Documents/Aptana Studio 3 Workspace/B does not exist.” which is not surprising at all. However, I don’t really know how to fix this issue so that the path in the remote server and my localhost are the same. the proper directory on the remote server is “~/rails/B”. If i changed this server side it would just get overwritten the next time i deploy. I could technically make a folder called rails on my local computer so that they are both in the same directory structure but that doesn’t really seem like an elegant solution.

I read about splitting the 3 folders into their own repositories but on mercurials site it says that this is bad practice.

Is there any way to fix this without having to move my project folder in my localhost?

  • 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-12T23:08:40+00:00Added an answer on June 12, 2026 at 11:08 pm

    I ended up using git instead of mercurial. Since bundler likes git and git can handle multiple repositories easily in a project, i switched to it. I split the project into 3 repositories on git.

    My gemfile looks like this now (after adding SSH keys to bitbucket):

    gem "B", :git => "git@bitbucket.org:username/B.git", :branch => 'master'
    gem "C", :git => "git@bitbucket.org:username/C.git", :branch => 'master'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project that I want to push to a Mercurial repository on
I have a Mercurial (hg) repository with commit data that has wrong (malformed) e-mail
I have a mercurial repository that is not accessible by Http. I can't figure
I have a Mercurial repository that I can see just fine if I navigate
I have set up a remote Mercurial (Hg) repository that holds a large Java
I have a NetBeans project and the Mercurial repository is in the project root.
Newbie alert! OK, I have a working central Mercurial repository that I've been working
I have a Mercurial repository for a personal project, and I have been storing
The Mercurial repository has two branches that originate from revision 0. Branch names are
I have a local repository that I have now decided to push to a

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.