Skip to content

Commit 36440d8

Browse files
authored
Remove --offline flag from cargo install command (foundry-rs#7315)
Otherwise cargo throws error when installing on a clean Rust installation error: failed to load source for dependency `ethers` Caused by: Unable to update https://github.com/gakonst/ethers-rs?rev=73e5de211c32a1f5777eb5194205bdb31f6a3502#73e5de21 Caused by: can't checkout from 'https://github.com/gakonst/ethers-rs': you are in the offline mode (--offline)
1 parent 381d76c commit 36440d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/anvil/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ A local Ethereum node, akin to Ganache, designed for development with [**Forge**
2020
```sh
2121
git clone https://github.com/foundry-rs/foundry
2222
cd foundry
23-
cargo install --path ./crates/anvil --profile local --locked --offline --force
23+
cargo install --path ./crates/anvil --profile local --locked --force
2424
```
2525

2626
## Getting started

0 commit comments

Comments
 (0)