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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:09:57+00:00 2026-06-18T10:09:57+00:00

I am trying to instal varnish on a cache server. My following stack with

  • 0

I am trying to instal varnish on a cache server. My following stack with be…

HA Proxy Servers —-> Cache (Varnish) Servers —-> Nginx + Unicorn Servers

I have been able to correctly setup all the config files for HAProxy and Varnish to move traffic along the pipeline. However I get an error when try to bootstrap my cache servers.


** ERROR: While executing gem ... (Gem::DependencyError)
** Unable to resolve dependencies: rubber requires net-ssh (~> 2.4.0); fog requires net-ssh (>= 2.1.3); capistrano requires net-ssh (>= 2.0.14); net-ssh-gateway requires net-ssh (>= 2.6.4); net-scp requires net-ssh (>= 2.6.4); net-sftp requires net-ssh (>= 2.6.4)
** /tmp/gem_helper:32:in `block in <main>'
** : Unable to install versioned gem rubber:2.1.2 (RuntimeError
** )
** from /tmp/gem_helper:30:in `each'
** from /tmp/gem_helper:30:in `<main>'

I can’t seem to figure out why this is happening. Any help would be great. 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-06-18T10:09:59+00:00Added an answer on June 18, 2026 at 10:09 am

    I had this problem and the solution I found was somewhat unsatisfactory and temporary, but it worked.

    This error occurs during the rubber:install_gems task. After it fails, log into the ec2 server via ssh. At this point if you try to run gem install rubber -v=2.1.2 manually in the remote console, it fails with the exact same error you show above. (the version number might be different for you, it depends on the rubber version you had when you did this).

    So now create an empty folder with any name, and create an almost-empty Gemfile inside it.

    $ mkdir dummy && cd dummy
    $ nano Gemfile
    

    Then fill the Gemfile with the following contents:

    source 'http://rubygems.org'
    gem 'rubber', '2.1.2'
    

    Again, the version of rubber might be different for you.

    After creating this file, run bundle install and everything will install correctly. But don’t ask me why it works differently when installing rubber via bundler than installing it via a plain old gem install.

    So after achieving this, logout from ec2 and re-run cap rubber:bootstrap and it should work.

    The unsatisfactory part is that if you decide to create new instances on ec2, it will fail again at the same point, and you’ll have to repeat this steps and re-ignite the process manually for it to complete. So if any one can come up with a better solution like modifying rubber or something, let us know.

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

Sidebar

Related Questions

I am trying to use Varnish as a reverse caching proxy for my nginx
Trying to install Symfony 1.4.11 application on Ubutnu Server + Nginx + php-fpm Nginx
I have been trying to install Oracle 11g R2 on Centos 6.2 for a
Hello I am using Wamp Server 2.0 and trying to instal pear . When
I'm trying install Dynamics AX Server 2009 in Windows Server 2003 but I have
I have been trying to use Eclipse 3.6 as a Python editor. I install
Trying to install Gitolite on a Media Temple DV server following these instructions .
I own Ubuntu 11.10 (GNU/Linux 3.0.0-18-server x86_64) and I am Trying to instal Single
I'm trying to instal sbt based project to local maven repository. I have tried
When trying to install the ADT plugin following Android Developper Site' instructions on 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.