Skip to content

Commit db653bf

Browse files
authored
fix nokogiri & mdbook installs (#62)
* upgrade nokogiri we're running into the issue fixed in sparklemotion/nokogiri#2106 * build mdbook without search feature error is: error: failed to compile `mdbook v0.2.3`, intermediate artifacts can be found at `/tmp/cargo-installjZOKMC` Caused by: failed to select a version for the requirement `ammonia = "^1.1"` candidate versions found which didn't match: 3.3.0, 3.2.1, 3.2.0, ... I believe because ammonia-1.1 was pulled from crates.io
1 parent 047a586 commit db653bf

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install Rust
2222
run: rustup update stable && rustup default stable
2323
- run: gem install bundler -v 1.16.5 && bundle install --retry=3 --jobs=4
24-
- run: cargo install mdbook --version 0.2.3
24+
- run: cargo install mdbook --version 0.2.3 --no-default-features
2525
- run: ./ci/build.sh
2626

2727
- name: Push to gh-pages

Gemfile

+2
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
2828
# Performance-booster for watching directories on Windows
2929
gem "wdm", "~> 0.1.0" if Gem.win_platform?
3030
gem "github-pages", group: :jekyll_plugins
31+
32+
gem "nokogiri", "~> 1.11"

Gemfile.lock

+6-3
Original file line numberDiff line numberDiff line change
@@ -198,20 +198,22 @@ GEM
198198
rb-inotify (~> 0.9, >= 0.9.7)
199199
ruby_dep (~> 1.2)
200200
mercenary (0.3.6)
201-
mini_portile2 (2.4.0)
201+
mini_portile2 (2.8.5)
202202
minima (2.5.0)
203203
jekyll (~> 3.5)
204204
jekyll-feed (~> 0.9)
205205
jekyll-seo-tag (~> 2.1)
206206
minitest (5.11.3)
207207
multipart-post (2.0.0)
208-
nokogiri (1.10.1)
209-
mini_portile2 (~> 2.4.0)
208+
nokogiri (1.15.5)
209+
mini_portile2 (~> 2.8.2)
210+
racc (~> 1.4)
210211
octokit (4.13.0)
211212
sawyer (~> 0.8.0, >= 0.5.3)
212213
pathutil (0.16.2)
213214
forwardable-extended (~> 2.6)
214215
public_suffix (3.0.3)
216+
racc (1.7.3)
215217
rb-fsevent (0.10.3)
216218
rb-inotify (0.10.0)
217219
ffi (~> 1.0)
@@ -246,6 +248,7 @@ DEPENDENCIES
246248
jekyll (~> 3.7.3)
247249
jekyll-feed (~> 0.6)
248250
minima (~> 2.0)
251+
nokogiri (~> 1.11)
249252
tzinfo-data
250253

251254
BUNDLED WITH

0 commit comments

Comments
 (0)