Procházet zdrojové kódy

Use newer version of ruby

bryan před 5 roky
rodič
revize
f30dd6cc81

+ 2 - 2
blog.bryanroessler.com/_posts/2018-12-03-deploying-multiple-jekyll-sites.md

@@ -55,8 +55,8 @@ for site in *.*/; do
         chmod g+s "$deploy_dir"
     fi
     pushd "${site}" || exit $?
-    bundle install --deployment
-    bundle exec jekyll build --destination "$deploy_dir"
+    ruby -S bundle install --deployment
+    ruby -S bundle exec jekyll build --destination "$deploy_dir"
     popd || exit $?
 done
 

+ 2 - 2
scripts/_var_lib_git_gogs-repositories_bryan_www.git_hooks_post-receive.sh

@@ -23,8 +23,8 @@ for site in *.*/; do
         chmod g+s "$deploy_dir"
     fi
     pushd "${site}" || exit $?
-    bundle install --deployment
-    bundle exec jekyll build --destination "$deploy_dir"
+    ruby -S bundle install --deployment
+    ruby -S bundle exec jekyll build --destination "$deploy_dir"
     popd || exit $?
 done