Skip to content

Commit 7fad481

Browse files
committed
Install a specific version of bundler
1 parent a98991d commit 7fad481

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

azure-pipelines.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ trigger:
44
jobs:
55
- job: publish
66
steps:
7-
- bash: |
8-
set -e
9-
curl https://sh.rustup.rs -sSf | sh -s -- -y
10-
echo "##vso[task.prependpath]$HOME/.cargo/bin"
11-
displayName: Install rust
127
- script: |
138
set -e
149
curl -L https://github.com/rust-lang-nursery/mdBook/releases/download/v0.2.1/mdbook-v0.2.1-x86_64-unknown-linux-musl.tar.gz | tar xzf -
@@ -19,9 +14,13 @@ jobs:
1914
versionSpec: '>= 2.4'
2015
addToPath: true
2116
- script: |
22-
gem install bundler
23-
bundle install --retry=3 --jobs=4
17+
gem install bundler -v 1.16.5 && bundle install --retry=3 --jobs=4
2418
displayName: Install ruby deps
19+
- bash: |
20+
set -e
21+
curl https://sh.rustup.rs -sSf | sh -s -- -y
22+
echo "##vso[task.prependpath]$HOME/.cargo/bin"
23+
displayName: Install rust
2524
- script: ./ci/build.sh
2625
displayName: Build site
2726
- script: curl -LsSf https://git.io/fhJ8n | rustc - && (cd _site && ../rust_out)

0 commit comments

Comments
 (0)