Skip to content

Commit

Permalink
Fix chef by updating rubygems
Browse files Browse the repository at this point in the history
  • Loading branch information
ichilton committed Feb 20, 2012
1 parent dd14913 commit 58c3880
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ make install
cd ..
rm -rf ruby-1.8.7-p334*

# Install RubyGems 1.7.2
wget http://production.cf.rubygems.org/rubygems/rubygems-1.7.2.tgz
tar xzf rubygems-1.7.2.tgz
cd rubygems-1.7.2
# Install RubyGems 1.8.17
wget http://production.cf.rubygems.org/rubygems/rubygems-1.8.17.tgz
tar xzf rubygems-1.8.17.tgz
cd rubygems-1.8.17
/opt/ruby/bin/ruby setup.rb
cd ..
rm -rf rubygems-1.7.2*
rm -rf rubygems-1.8.17*

# Installing chef & Puppet
/opt/ruby/bin/gem install chef --no-ri --no-rdoc
Expand Down
10 changes: 5 additions & 5 deletions templates/ubuntu-10.04.4-server-i38-experimental/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ make install
cd ..
rm -rf ruby-1.8.7-p334*

# Install RubyGems 1.7.2
wget http://production.cf.rubygems.org/rubygems/rubygems-1.7.2.tgz
tar xzf rubygems-1.7.2.tgz
cd rubygems-1.7.2
# Install RubyGems 1.8.17
wget http://production.cf.rubygems.org/rubygems/rubygems-1.8.17.tgz
tar xzf rubygems-1.8.17.tgz
cd rubygems-1.8.17
/opt/ruby/bin/ruby setup.rb
cd ..
rm -rf rubygems-1.7.2*
rm -rf rubygems-1.8.17*

# Installing chef & Puppet
/opt/ruby/bin/gem install chef --no-ri --no-rdoc
Expand Down

0 comments on commit 58c3880

Please sign in to comment.