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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:05:26+00:00 2026-05-17T23:05:26+00:00

I need to patch Rack with the following patch: http://github.com/rack/rack/commit/dae12e088592ee69545b5f2f81b87f4959859164 What’s the best practice

  • 0

I need to patch Rack with the following patch: http://github.com/rack/rack/commit/dae12e088592ee69545b5f2f81b87f4959859164

What’s the best practice for doing this? Should I gem unpack, apply the patch, then repack the gem and ship it with capistrano to make sure my version of the gem gets to the destination server?

can I just pop rack into vendor/plugins/ and rely on it being loaded first prior to the system wide gem?

I want to take the path of least resistance and easily be able to deploy this to many environments.

  • 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-17T23:05:27+00:00Added an answer on May 17, 2026 at 11:05 pm

    You can install gems from a repository using bundler if you’re using that by adding an option to your Gemfile:

    gem ‘rack’, :git => ‘git://github.com/my-account/rack.git’

    This makes patching and deploying patched gems a lot easier. Fork it to your account, patch it, and use that base instead.

    Rack isn’t a plugin, it’s a gem, so it probably won’t work properly if installed in vendor/plugins.

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

Sidebar

Related Questions

I need to generate a patch of commit with respect to its base. A
If we need to issue a bug patch that does not include current development
I'm writing a rack middleware component for a rails app that will need to
I need to patch the standard User model of contrib.auth by ensuring the email
I need to patch a method in Classes.pas (TReader.ReadString - I want to force
I need to write a small console app (patch) that turns off the print
I have forked a project on github and need to have a set of
I need to solve the following question which i can't get to work by
I have a git submodule of git://github.com/rails/rails in vendor/rails of my Rails 3 app.
I need to patch a system in production however I have already change 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.