Sha256: 597e3d1c68ba3c94c0deb94b1b503652ebacacc8d4cfc396afb1d94ba4d788e9

Contents?: true

Size: 825 Bytes

Versions: 12

Compression:

Stored size: 825 Bytes

Contents

#!/bin/bash

if [ -f .veewee_params ]
then
  . .veewee_params
fi

# Install Ruby from source in /opt so that users of Vagrant
# can install their own Rubies using packages or however.
# We must install the 1.8.x series since Puppet doesn't support
# Ruby 1.9 yet.
wget http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p334.tar.gz
tar xvzf ruby-1.8.7-p334.tar.gz
cd ruby-1.8.7-p334
./configure --prefix=/opt/ruby
make
make install
cd ..
rm -rf ruby-1.8.7-p334*

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

# Add /opt/ruby/bin to the global path as the last resort so
# Ruby, RubyGems, and Chef/Puppet are visible
echo 'PATH=$PATH:/opt/ruby/bin/'> /etc/profile.d/ruby.sh

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
veewee-0.5.0.alpha4 templates/ubuntu-10.10-server-amd64/ruby.sh
veewee-0.5.0.alpha3 templates/ubuntu-10.10-server-amd64/ruby.sh
veewee-0.5.0.alpha2 templates/ubuntu-10.10-server-amd64/ruby.sh
veewee-0.5.0.alpha1 templates/ubuntu-10.10-server-amd64/ruby.sh
veewee-0.4.5.1 templates/ubuntu-10.10-server-amd64/ruby.sh
veewee-0.4.5 templates/ubuntu-10.10-server-amd64/ruby.sh
veewee-0.4.5.pre1 templates/ubuntu-10.10-server-amd64/ruby.sh
veewee-0.4.4 templates/ubuntu-10.10-server-amd64/ruby.sh
veewee-0.4.3 templates/ubuntu-10.10-server-amd64/ruby.sh
veewee-0.4.2 templates/ubuntu-10.10-server-amd64/ruby.sh
veewee-0.4.1 templates/ubuntu-10.10-server-amd64/ruby.sh
veewee-0.4.0 templates/ubuntu-10.10-server-amd64/ruby.sh