Sha256: 1e7ee28ac305a6e097ff40fdb58704f677bc3d851df23a8bb8a30bf84b7e7715

Contents?: true

Size: 820 Bytes

Versions: 46

Compression:

Stored size: 820 Bytes

Contents

# Install Ruby from source in /opt so that users of Vagrant
# can install their own Rubies using packages or however.

apt-get -y install libyaml-0-2
RUBY_VERSION=1.9.3-p392
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-$RUBY_VERSION.tar.gz
tar xvzf ruby-$RUBY_VERSION.tar.gz
cd ruby-$RUBY_VERSION
./configure --prefix=/opt/ruby
make
make install
cd ..
rm -rf ruby-$RUBY_VERSION

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

# 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

46 entries across 16 versions & 1 rubygems

Version Path
veewee-0.4.5.pre1 templates/ubuntu-12.04.3-server-amd64-parallels/ruby.sh
veewee-0.4.4 templates/ubuntu-12.04.3-server-amd64-parallels/ruby.sh
veewee-0.4.4 templates/Debian-6.0.6-amd64-netboot/ruby.sh
veewee-0.4.4 templates/ubuntu-12.04.3-server-amd64/ruby.sh
veewee-0.4.3 templates/ubuntu-12.04.3-server-amd64/ruby.sh
veewee-0.4.3 templates/ubuntu-12.04.3-server-amd64-parallels/ruby.sh
veewee-0.4.3 templates/Debian-6.0.6-amd64-netboot/ruby.sh
veewee-0.4.2 templates/Debian-6.0.6-amd64-netboot/ruby.sh
veewee-0.4.2 templates/ubuntu-12.04.3-server-amd64/ruby.sh
veewee-0.4.2 templates/ubuntu-12.04.3-server-amd64-parallels/ruby.sh
veewee-0.4.1 templates/ubuntu-12.04.3-server-amd64/ruby.sh
veewee-0.4.1 templates/Debian-6.0.6-amd64-netboot/ruby.sh
veewee-0.4.0 templates/ubuntu-12.04.3-server-amd64/ruby.sh
veewee-0.4.0 templates/Debian-6.0.6-amd64-netboot/ruby.sh
veewee-0.3.12 templates/ubuntu-12.04.2-server-amd64/ruby.sh
veewee-0.3.12 templates/ubuntu-12.04.3-server-amd64/ruby.sh
veewee-0.3.12 templates/Debian-6.0.6-amd64-netboot/ruby.sh
veewee-0.3.11 templates/ubuntu-12.04.3-server-amd64/ruby.sh
veewee-0.3.11 templates/Debian-6.0.6-amd64-netboot/ruby.sh
veewee-0.3.11 templates/ubuntu-12.04.2-server-amd64/ruby.sh