[chef] Problem installing chef-client


Chronological Thread 
  • From: Ignasi < >
  • To:
  • Subject: [chef] Problem installing chef-client
  • Date: Wed, 6 Feb 2013 11:30:53 -0800

Hi!

I am trying to install the chef gems in an Ubuntu 11.04, but installation fails due to its dependencies.

I installed ruby from the Ubuntu repositories:
  apt-get update
  apt-get install -y ruby ruby-dev build-essential wget

And Rubygems from the tarball and updated as follows:
  tar zxf rubygems-1.3.7.tgz
  ruby setup.rb --no-format-executable
  gem update --system
  gem update
  gem list
      *** LOCAL GEMS ***
      rubygems-update (1.8.25)

But when I try to install the chef gem after a clean Rubygems installation, I get the following error:
  gem install chef --no-rdoc --no-ri
      ERROR:  While executing gem ... (Gem::DependencyError)
      Unable to resolve dependencies: chef requires net-ssh (~> 2.2.2); net-ssh-multi requires net-ssh (>= 2.6.5); net-ssh-gateway requires net-ssh (>= 2.6.5)

Is there something I am missing?


Thank you,

Ignasi




Archive powered by MHonArc 2.6.16.

§