@@ -5,6 +5,8 @@
#
# Author: Paolo Bonzini
+source scl_source enable rh-ruby25
+
# -----------------------------------------------------------------------------
# $DEPLOY_ROOT is the path to the work area for this script. All users
# that can push to the repository must have write access to $DEPLOY_ROOT as
@@ -52,8 +54,7 @@
# $DEPLOY_ROOT/root if successful.
cd $DEPLOY_ROOT/source
-export PATH=$HOME/bin:$PATH
-bundle install
+bundle install --path $HOME/.gem
if bundle exec jekyll build -d $DEPLOY_ROOT/new; then
rm -rf $DEPLOY_ROOT/old
if test -d $DEPLOY_ROOT/root; then