diff options
author | Seth Chisamore <schisamo@opscode.com> | 2011-04-30 01:03:40 -0400 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2011-06-01 15:53:20 -0700 |
commit | b253fa66a9910ad34ec74b1a5a5924c3c4201940 (patch) | |
tree | 23e5ba885976c0be11c92417060b43cb36f54da9 | |
parent | ef635ffbf47cdd0070c219c364d1e91e212f3845 (diff) | |
download | chef-b253fa66a9910ad34ec74b1a5a5924c3c4201940.tar.gz |
[CHEF-2293] bump rubygems version
-rw-r--r-- | chef/lib/chef/knife/bootstrap/centos5-gems.erb | 6 | ||||
-rw-r--r-- | chef/lib/chef/knife/bootstrap/ubuntu10.04-gems.erb | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/chef/lib/chef/knife/bootstrap/centos5-gems.erb b/chef/lib/chef/knife/bootstrap/centos5-gems.erb index b51f67d9de..98eac9d797 100644 --- a/chef/lib/chef/knife/bootstrap/centos5-gems.erb +++ b/chef/lib/chef/knife/bootstrap/centos5-gems.erb @@ -6,9 +6,9 @@ if [ ! -f /usr/bin/chef-client ]; then yum install -y ruby-1.8.7.334-2.el5 ruby-devel-1.8.7.334-2.el5 gcc gcc-c++ automake autoconf make cd /tmp - wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz - tar zxf rubygems-1.3.7.tgz - cd rubygems-1.3.7 + wget http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz + tar zxf rubygems-1.6.2.tgz + cd rubygems-1.6.2 ruby setup.rb --no-format-executable fi diff --git a/chef/lib/chef/knife/bootstrap/ubuntu10.04-gems.erb b/chef/lib/chef/knife/bootstrap/ubuntu10.04-gems.erb index 7aa6758639..c7e771bd7b 100644 --- a/chef/lib/chef/knife/bootstrap/ubuntu10.04-gems.erb +++ b/chef/lib/chef/knife/bootstrap/ubuntu10.04-gems.erb @@ -3,12 +3,14 @@ if [ ! -f /usr/bin/chef-client ]; then apt-get update apt-get install -y ruby ruby1.8-dev build-essential wget libruby-extras libruby1.8-extras cd /tmp - wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz - tar zxf rubygems-1.3.7.tgz - cd rubygems-1.3.7 + wget http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz + tar zxf rubygems-1.6.2.tgz + cd rubygems-1.6.2 ruby setup.rb --no-format-executable fi +gem update --system +gem update gem install ohai --no-rdoc --no-ri --verbose gem install chef --no-rdoc --no-ri --verbose <%= bootstrap_version_string %> |