Skip to content

Commit bc00e16

Browse files
author
alxndrsn
committed
try tvm
1 parent 0cb13f0 commit bc00e16

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/github-pages.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,15 @@ jobs:
2828
- name: Checkout
2929
uses: actions/checkout@v3
3030
- uses: ./.github/actions/install-deps
31-
- run: sudo apt-get install -y ruby=2.2
31+
# install rvm and ruby 2.2
32+
- run: sudo apt-get -y install software-properties-common
33+
- run: sudo apt-add-repository -y ppa:rael-gc/rvm
34+
- run: sudo apt-get update
35+
- run: sudo apt-get install rvm
36+
- run: sudo usermod -a -G rvm $USER
37+
- run: . /etc/profile.d/rvm.sh
38+
- run: rvm install 2.2
39+
- run: rvm use 2.2
3240
- run: sudo gem install bundler -v 2.1.4
3341
# TODO use npm run install-jekyll?
3442
- run: sudo ./bin/install-jekyll.sh

0 commit comments

Comments
 (0)