Sha256: de6b6507c8863d9c29fc0325c43b06e1768129597debdc96f7ada21d2d9bf473
Contents?: true
Size: 886 Bytes
Versions: 12
Compression:
Stored size: 886 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. 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
12 entries across 12 versions & 1 rubygems