Skip to content

Commit 3cd8007

Browse files
committed
Use ruby:3 as image to serve dev
github-pages isn't compatible with Ruby 4, since its dependency jekyll-commonmark depends on a very old version of commonmarker, which isn't compatible with Ruby 4. The latest release of jekyll-commonmark was in January 2022, so maybe this is a sign that we'll have to look for alternatives. Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
1 parent 7cde868 commit 3cd8007

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ css:
99
npx less --clean-css="--s1 --advanced" styles/styles.less > styles/styles.min.css
1010

1111
serve-dev:
12-
docker run -it -p 4000:4000 -v $(PWD):/site -w /site library/ruby bash -c 'bundle install && bundle exec jekyll serve -H 0.0.0.0'
12+
docker run -it -p 4000:4000 -v $(PWD):/site -w /site library/ruby:3 bash -c 'bundle install && bundle exec jekyll serve -H 0.0.0.0'

0 commit comments

Comments
 (0)