Sha256: 760fd4c485fa7733bd739f99f82c43f984a7b61ca2259be9acfb5b3b3a59f3a5
Contents?: true
Size: 641 Bytes
Versions: 60
Compression:
Stored size: 641 Bytes
Contents
apt-get -y install libyaml-0-2 RUBY_VERSION=1.9.3-p392 cd /tmp 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 rm ruby-$RUBY_VERSION.tar.gz RUBYGEMS_VERSION=2.0.3 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 rm rubygems-$RUBYGEMS_VERSION.tgz echo 'PATH=$PATH:/opt/ruby/bin/' > /etc/profile.d/vagrantruby.sh
Version data entries
60 entries across 16 versions & 1 rubygems