Sha256: 08abccbe66f4985479678fcc2c875eaba28143478a92b3b3228ed22921676aed

Contents?: true

Size: 1.15 KB

Versions: 19

Compression:

Stored size: 1.15 KB

Contents

test_name 'Install and configure Ruby 2.2.5 on the SUT' do

  step 'Ensure that the default system is an el-based system' do
    # The pre-suite currently only supports el systems, and we should
    #fail early if the default platform is not a supported platform
    assert(default.platform.variant == 'el',
           "Expected the platform variant to be 'el', not #{default.platform.variant}")
  end

  step 'clean out current ruby and its dependencies' do
    on default, 'yum remove ruby ruby-devel -y'
  end

  # These steps install git, openssl, and wget
  step 'install development dependencies' do
    on default, 'yum groupinstall "Development Tools" -y'
    on default, 'yum install openssl-devel -y'
    on default, 'yum install wget -y'
  end

  step 'download and install ruby 2.2.5' do
    on default, 'wget http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.5.tar.gz'
    on default, 'tar xvfz ruby-2.2.5.tar.gz'
    on default, 'cd ruby-2.2.5;./configure'
    on default, 'cd ruby-2.2.5;make'
    on default, 'cd ruby-2.2.5;make install'
  end

  step 'update gem on the SUT and install bundler' do
    on default, 'gem update --system;gem install bundler'
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
beaker-3.28.0 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.27.0 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.26.0 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.25.0 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.24.0 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.23.0 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.22.0 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.21.1 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.21.0 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.20.0 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.19.0 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.18.0 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.17.0 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.16.0 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.15.0 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.14.0 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.13.0 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.12.0 acceptance/pre_suite/subcommands/05_install_ruby.rb
beaker-3.11.0 acceptance/pre_suite/subcommands/05_install_ruby.rb