X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fpackaging%2Ftest-puppet.sh;h=c0aace6c093093924284526ffd4c167e76d613de;hb=3b7ee333f1b20d16cbd2c00445cc28c10de2857e;hp=d460e451edbce671d298fd26fe2c6bbcefb16b70;hpb=10a7971e7547543096f4d540270d1211fe5d2104;p=releng%2Fbuilder.git diff --git a/jjb/packaging/test-puppet.sh b/jjb/packaging/test-puppet.sh index d460e451ed..c0aace6c09 100644 --- a/jjb/packaging/test-puppet.sh +++ b/jjb/packaging/test-puppet.sh @@ -28,15 +28,19 @@ set +e # shellcheck disable=SC1090 source "$HOME/.rvm/scripts/rvm" set -e -rvm install 2.4.0 +rvm install 2.6.0 set -x ruby --version # This has to be done as a login shell to get rvm fns # https://rvm.io/support/faq#what-shell-login-means-bash-l # http://superuser.com/questions/306530/run-remote-ssh-command-with-full-login-shell -bash -lc "rvm use 2.4.0 --default" +bash -lc "rvm use 2.6.0 --default" ruby --version +# Update RubyGems using itself, as OS package may be old +# Ran into RubyGems 2.x installed by OS, 3.x required by Bundler in INTPAK-230 +gem update --system + # Install gems dependencies of puppet-opendaylight via Bundler gem install bundler echo export PATH="\\$PATH:/usr/local/bin" >> "$HOME/.bashrc"