summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-04-25 11:59:05 -0700
committerGitHub <noreply@github.com>2020-04-25 11:59:05 -0700
commitd81b78b230a815e3921ef63a5ceaec5570f88f39 (patch)
tree570ac0d530cf6daff2e643238f3ad73b5fcb50a7
parent7322308da2f96acb01a494152c2ccc6ced90715b (diff)
parent38cdc95e1fb47321194c1bfbee0d33c51869c9dc (diff)
downloadchef-d81b78b230a815e3921ef63a5ceaec5570f88f39.tar.gz
Merge pull request #9737 from chef/ruby27_testing
Run Test Kitchen tests on Ruby 2.7
-rw-r--r--docs/dev/how_to/building_and_installing.md1
-rwxr-xr-xscripts/bk_tests/bk_linux_exec.sh6
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