Skip to content

Commit

Permalink
Remove --offline flag from cargo install command (#7315)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
risinek authored Mar 5, 2024
1 parent 381d76c commit 36440d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/anvil/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ A local Ethereum node, akin to Ganache, designed for development with [**Forge**
```sh
git clone https://github.com/foundry-rs/foundry
cd foundry
cargo install --path ./crates/anvil --profile local --locked --offline --force
cargo install --path ./crates/anvil --profile local --locked --force
```

## Getting started
Expand Down

0 comments on commit 36440d8

Please sign in to comment.