Skip to content

Commit 46d72da

Browse files
authored
Fix preview & update deps (#71)
* Update gemfile versions * Run preview in standard ruby docker image The jekyll images are horribly outdated and broken.
1 parent 9a32131 commit 46d72da

4 files changed

Lines changed: 35 additions & 26 deletions

File tree

Gemfile.lock

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,33 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (8.0.2.1)
4+
activesupport (8.1.1)
55
base64
6-
benchmark (>= 0.3)
76
bigdecimal
87
concurrent-ruby (~> 1.0, >= 1.3.1)
98
connection_pool (>= 2.2.5)
109
drb
1110
i18n (>= 1.6, < 2)
11+
json
1212
logger (>= 1.4.2)
1313
minitest (>= 5.1)
1414
securerandom (>= 0.3)
1515
tzinfo (~> 2.0, >= 2.0.5)
1616
uri (>= 0.13.1)
17-
addressable (2.8.7)
18-
public_suffix (>= 2.0.2, < 7.0)
17+
addressable (2.8.8)
18+
public_suffix (>= 2.0.2, < 8.0)
1919
base64 (0.3.0)
20-
benchmark (0.4.1)
21-
bigdecimal (3.2.3)
20+
bigdecimal (4.0.1)
2221
coffee-script (2.4.1)
2322
coffee-script-source
2423
execjs
2524
coffee-script-source (1.12.2)
2625
colorator (1.1.0)
2726
commonmarker (0.23.12)
28-
concurrent-ruby (1.3.5)
29-
connection_pool (2.5.4)
27+
concurrent-ruby (1.3.6)
28+
connection_pool (3.0.2)
3029
csv (3.3.5)
31-
dnsruby (1.73.0)
30+
dnsruby (1.73.1)
3231
base64 (>= 0.2)
3332
logger (~> 1.6)
3433
simpleidn (~> 0.2.1)
@@ -40,14 +39,14 @@ GEM
4039
ffi (>= 1.15.0)
4140
eventmachine (1.2.7)
4241
execjs (2.10.0)
43-
faraday (2.13.4)
42+
faraday (2.14.0)
4443
faraday-net_http (>= 2.0, < 3.5)
4544
json
4645
logger
47-
faraday-net_http (3.4.1)
48-
net-http (>= 0.5.0)
49-
ffi (1.17.2)
50-
ffi (1.17.2-x86_64-linux-gnu)
46+
faraday-net_http (3.4.2)
47+
net-http (~> 0.5)
48+
ffi (1.17.3)
49+
ffi (1.17.3-x86_64-linux-gnu)
5150
forwardable-extended (2.6.0)
5251
gemoji (4.1.0)
5352
github-pages (232)
@@ -105,8 +104,8 @@ GEM
105104
html-pipeline (2.14.3)
106105
activesupport (>= 2)
107106
nokogiri (>= 1.4)
108-
http_parser.rb (0.8.0)
109-
i18n (1.14.7)
107+
http_parser.rb (0.8.1)
108+
i18n (1.14.8)
110109
concurrent-ruby (~> 1.0)
111110
jekyll (3.10.0)
112111
addressable (~> 2.4)
@@ -218,7 +217,7 @@ GEM
218217
gemoji (>= 3, < 5)
219218
html-pipeline (~> 2.2)
220219
jekyll (>= 3.0, < 5.0)
221-
json (2.14.1)
220+
json (2.18.0)
222221
kramdown (2.4.0)
223222
rexml
224223
kramdown-parser-gfm (1.1.0)
@@ -234,13 +233,14 @@ GEM
234233
jekyll (>= 3.5, < 5.0)
235234
jekyll-feed (~> 0.9)
236235
jekyll-seo-tag (~> 2.1)
237-
minitest (5.25.5)
238-
net-http (0.6.0)
239-
uri
240-
nokogiri (1.18.10)
236+
minitest (6.0.1)
237+
prism (~> 1.5)
238+
net-http (0.9.1)
239+
uri (>= 0.11.1)
240+
nokogiri (1.19.0)
241241
mini_portile2 (~> 2.8.2)
242242
racc (~> 1.4)
243-
nokogiri (1.18.10-x86_64-linux-gnu)
243+
nokogiri (1.19.0-x86_64-linux-gnu)
244244
racc (~> 1.4)
245245
octokit (4.25.1)
246246
faraday (>= 1, < 3)
@@ -249,6 +249,7 @@ GEM
249249
forwardable-extended (~> 2.6)
250250
premonition (4.0.2)
251251
jekyll (>= 3.7, < 5.0)
252+
prism (1.7.0)
252253
public_suffix (5.1.1)
253254
racc (1.8.1)
254255
rb-fsevent (0.11.2)
@@ -263,7 +264,7 @@ GEM
263264
sass-listen (4.0.0)
264265
rb-fsevent (~> 0.9, >= 0.9.4)
265266
rb-inotify (~> 0.9, >= 0.9.7)
266-
sawyer (0.9.2)
267+
sawyer (0.9.3)
267268
addressable (>= 2.3.5)
268269
faraday (>= 0.17.3, < 3)
269270
securerandom (0.4.1)
@@ -275,8 +276,8 @@ GEM
275276
tzinfo (2.0.6)
276277
concurrent-ruby (~> 1.0)
277278
unicode-display_width (1.8.0)
278-
uri (1.0.3)
279-
webrick (1.9.1)
279+
uri (1.1.1)
280+
webrick (1.9.2)
280281

281282
PLATFORMS
282283
ruby

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The structure of the website was created with [Jekyll](http://jekyllrb.com).
99
Run this from the root directory of the repo:
1010

1111
```
12-
docker run --rm -it -v $(pwd):/srv/jekyll -p 4000:4000 jekyll/jekyll:3 jekyll serve --watch
12+
./preview.sh
1313
```
1414

1515
## Configuration

preview-docker.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
cd /srv/jekyll
4+
bundle install
5+
jekyll serve --trace --watch --host 0.0.0.0

preview.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
docker run --user $(id -u) --rm -it -v $(pwd):/srv/jekyll -p 4000:4000 ruby:3 /srv/jekyll/preview-docker.sh

0 commit comments

Comments
 (0)