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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:48:16+00:00 2026-05-26T09:48:16+00:00

I have a private git server hosting a gem we developed. The gem got

  • 0

I have a private git server hosting a gem we developed. The gem got some commits, but the version did not actually change.

How can I force bundler to update my gem even if the version hasn’t changed?

I tried “bundler update mygemname” but it did not update anything.

Thanks

  • 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-26T09:48:17+00:00Added an answer on May 26, 2026 at 9:48 am

    that will not work – there is no “force” option – you will have to modify your .gemspec file and increase the version number, then do gem build ..., and bundle install

    It is critical for bundler to be able to read the version number from your gem, which was introduced in the .gemspec file. It’s confusing not only to bundler or gem update , but also confusing to people if you forget to update the version number in the .gemspec file. They would end up having gem-files lying around, and not be able to tell which versions they are, e.g. which one is newer? (of course you could use md5-sum, but that’s beside the point here).

    The best thing to do is to correct the mistake in the .gemspec file, and re-release the gem.

    Check the bundler source code for available options:

    e.g.: bundler-1.0.15/lib/bundler/cli.rb

    (search for desc "install")

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

Sidebar

Related Questions

I have tried following how-set-up-your-own-private-git-server-linux and private-remote-git-repositories-ubuntu-linode but I am still having problems. My
I am new to git and distributed version control but have managed, without much
I have a private git setup on my server that is only accessible via
I have a Gemfile with a private git repo in the following format: gem
I have a private server running git 1.7 When I git init a folder
I have setup git server via ssh (one git account and many different public/private
I have two issues. I have Ubuntu 10.10 and I have installed git server
I've read a few git questions here, but could not find an answer to
I'm not exactly an expert at this, but I'm pretty sure I have covered
I've never used Git before and would like to learn. I have a private

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.