Skip to content

Commit e9db332

Browse files
authored
Merge pull request #85 from roundcube/serve-dev-ruby-3
2 parents 7cde868 + f8ae54e commit e9db332

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

Gemfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
source 'https://rubygems.org'
2-
gem 'github-pages'
3-
4-
# Explicitly require v4.0.4 to fix "Liquid Exception: undefined method 'tainted?' for an instance of String". See <https://github.com/jekyll/jekyll/issues/9233>.
5-
gem 'liquid', '>=4.0.4'
2+
# Explicitly require >=232 to make sure liquid >=4.0.4 is used, which has a fix for "Liquid Exception: undefined method 'tainted?' for an instance of String". See <https://github.com/jekyll/jekyll/issues/9233>.
3+
gem 'github-pages', '>=232'
64

75
# Require some gems that are not part of the core anymore in recent Ruby versions.
86
gem 'csv'

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)