Sha256: 8ccc922b4a73dc59884bd160db8e59e2804271488dd81ff821ca62b74b009b38

Contents?: true

Size: 661 Bytes

Versions: 5

Compression:

Stored size: 661 Bytes

Contents

#!/bin/bash
# This file was generated on 2022-09-08T12:41:59+01:00 from the rspec-dev repo.
# DO NOT modify it by hand as your changes will get lost the next time it is generated.

set -e
source script/functions.sh

if is_ruby_31_plus; then
  echo "Installing rubygems 3.3.6 / bundler 2.3.6"
  yes | gem update --system '3.3.6'
  yes | gem install bundler -v '2.3.6'
elif is_ruby_23_plus; then
  echo "Installing rubygems 3.2.22 / bundler 2.2.22"
  yes | gem update --system '3.2.22'
  yes | gem install bundler -v '2.2.22'
else
  echo "Warning installing older versions of Rubygems / Bundler"
  gem update --system '2.7.8'
  gem install bundler -v '1.17.3'
fi

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
opal-rspec-1.1.0.alpha3 rspec-core/upstream/script/update_rubygems_and_install_bundler
opal-rspec-1.1.0.alpha2 rspec-core/upstream/script/update_rubygems_and_install_bundler
opal-rspec-1.1.0.alpha1 rspec-core/upstream/script/update_rubygems_and_install_bundler
opal-rspec-1.0.0 rspec-core/upstream/script/update_rubygems_and_install_bundler
opal-rspec-1.0.0.alpha1 rspec-core/upstream/script/update_rubygems_and_install_bundler