From 38cdc95e1fb47321194c1bfbee0d33c51869c9dc Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Sat, 25 Apr 2020 11:05:01 -0700 Subject: Run Test Kitchen tests on Ruby 2.7 Let's see all the warnings Signed-off-by: Tim Smith --- docs/dev/how_to/building_and_installing.md | 1 - scripts/bk_tests/bk_linux_exec.sh | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/dev/how_to/building_and_installing.md b/docs/dev/how_to/building_and_installing.md index 2a40bb0e54..ecdc3cb25f 100644 --- a/docs/dev/how_to/building_and_installing.md +++ b/docs/dev/how_to/building_and_installing.md @@ -16,7 +16,6 @@ We do not recommend for end users to install Chef from gems or build from source - git - C compiler, header files, etc. - Ruby 2.6 or later -- Bundler gem **NOTE:** Chef supports a large number of platforms, and there are many different ways to manage Ruby installs on each of those platforms. We assume you will install Ruby in a way appropriate for your development platform, but do not provide instructions for setting up Ruby. diff --git a/scripts/bk_tests/bk_linux_exec.sh b/scripts/bk_tests/bk_linux_exec.sh index 0325b9af44..d7a1c12320 100755 --- a/scripts/bk_tests/bk_linux_exec.sh +++ b/scripts/bk_tests/bk_linux_exec.sh @@ -27,10 +27,10 @@ sudo git clone https://github.com/asdf-vm/asdf.git /opt/asdf . /opt/asdf/asdf.sh . /opt/asdf/completions/asdf.bash -echo "--- Installing Ruby 2.6.6" +echo "--- Installing Ruby 2.7.1" /opt/asdf/bin/asdf plugin-add ruby https://github.com/asdf-vm/asdf-ruby.git -/opt/asdf/bin/asdf install ruby 2.6.6 -/opt/asdf/bin/asdf global ruby 2.6.6 +/opt/asdf/bin/asdf install ruby 2.7.1 +/opt/asdf/bin/asdf global ruby 2.7.1 # Update Gems echo 'gem: --no-document' >> ~/.gemrc -- cgit v1.2.1