Sha256: daa1a8e3ff413f4a57eb278ccde8750b062c041ccca928f8d0a523f043144e1e
Contents?: true
Size: 753 Bytes
Versions: 42
Compression:
Stored size: 753 Bytes
Contents
# 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.7.2.tgz tar xzf rubygems-1.7.2.tgz cd rubygems-1.7.2 /opt/ruby/bin/ruby setup.rb cd .. rm -rf rubygems-1.7.2* # 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
42 entries across 23 versions & 2 rubygems