Sha256: 3e1af165b8fb74b9ae489b8705c69a641bacaa6ed0f109da5e5469358084c70e

Contents?: true

Size: 916 Bytes

Versions: 15

Compression:

Stored size: 916 Bytes

Contents

# Needed packages
apt-get -y install linux-headers-$(uname -r) build-essential
apt-get -y install zlib1g-dev libssl-dev libreadline5-dev
apt-get clean

# 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.7.2
wget http://production.cf.rubygems.org/rubygems/rubygems-1.8.11.tgz
tar xzf rubygems-1.8.11.tgz
cd rubygems-1.8.11
/opt/ruby/bin/ruby setup.rb
cd ..
rm -rf rubygems-1.8.11

# 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/vagrantruby.sh

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
veewee-0.3.12 templates/ubuntu-11.04-server-amd64/ruby.sh
veewee-0.3.11 templates/ubuntu-11.04-server-amd64/ruby.sh
veewee-0.3.10 templates/ubuntu-11.04-server-amd64/ruby.sh
veewee-0.3.9 templates/ubuntu-11.04-server-amd64/ruby.sh
veewee-atlassian-0.3.11 templates/ubuntu-11.04-server-amd64/ruby.sh
veewee-0.3.7 templates/ubuntu-11.04-server-amd64/ruby.sh
veewee-0.3.6 templates/ubuntu-11.04-server-amd64/ruby.sh
veewee-0.3.5 templates/ubuntu-11.04-server-amd64/ruby.sh
veewee-0.3.4 templates/ubuntu-11.04-server-amd64/ruby.sh
veewee-0.3.3 templates/ubuntu-11.04-server-amd64/ruby.sh
veewee-0.3.2 templates/ubuntu-11.04-server-amd64/ruby.sh
veewee-0.3.1 templates/ubuntu-11.04-server-amd64/ruby.sh
veewee-0.3.0.beta2 templates/ubuntu-11.04-server-amd64/ruby.sh
veewee-0.3.0.beta1 templates/ubuntu-11.04-server-amd64/ruby.sh
veewee-0.3.0.alpha9 templates/ubuntu-11.04-server-amd64/ruby.sh