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

  • Home
  • SEARCH
  • 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 307861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:35:50+00:00 2026-05-12T07:35:50+00:00

Rather than using the latest Rails gem for my application, I like to have

  • 0

Rather than using the latest Rails gem for my application, I like to have the code local in my own git repository, which means putting it in vendor/rails.

There are a couple of ways of doing this: downloading the source for the particular branch/tag I want to run and committing it to my repository, or using git submodules.

Submodules seem like a natural way to go, but isn’t it the case that each time you clone the repository you’ll have to manually check out the branch you want to use that submodule for (otherwise you’ll just get master)? And is there an impact on Capistrano deployments using this method?

  • 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-12T07:35:51+00:00Added an answer on May 12, 2026 at 7:35 am

    I’d recommend freezing on a release:

    rake rails:freeze:edge RELEASE=2.3.3
    

    There is a git branch for 2-3-stable, but I’ve had a terrible time using it. Submodules are a bit of a pain. The tool Braid is pretty nice, but I like freezing Rails with releases.

    Capistrano is going to be a little more sluggish deploying your code (the whole Rails codebase is in there), but capistrano itself and your production setup should not need to be altered.

    Good luck!

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

Sidebar

Related Questions

When an iPhone application manages its own preferences, rather than using a bundle, it
When should I create my own custom exception class rather than using a one
I'm trying to get some basic authentication/authorization with devise/cancan with Rails. Rather than using
Has anyone used Lucene.NET rather than using the full text search that comes with
Does creating an object using reflection rather than calling the class constructor result in
Using C# and WPF under .NET (rather than Windows Forms or console), what is
As a general rule, I prefer using value rather than pointer semantics in C++
A rather odd experience. Using the latest PDK (v7.3) from ActiveState, I used perlctrl
I'm working on a project where rather than using command line arguments I am
Rather than population said DOM object with an external page such as HTML CFM

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.