Reference working rust nightly versions
This commit is contained in:
parent
6b44597b0f
commit
a80ff75d7e
13
INSTALL.md
13
INSTALL.md
@ -12,7 +12,8 @@ git clone https://github.com/Plume-org/Plume.git
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path --default-toolchain nightly
|
||||
cd Plume
|
||||
rustup toolchain install nightly
|
||||
rustup override set nightly-2018-05-15 # this seems to be needed for compilation
|
||||
rustup toolchain default nightly
|
||||
rustup update
|
||||
cargo install diesel_cli --no-default-features --features postgres # we dont need to compile anything else than pgsql
|
||||
```
|
||||
|
||||
@ -57,3 +58,13 @@ DB_URL=postgres://plume:PASSWORD@DBSERVERIP:DBPORT/plume cargo run # the first l
|
||||
# Caveats:
|
||||
|
||||
* Pgbouncer is not yet supported ( named transactions are used ).
|
||||
* Rust nightly is a moving target, dependancies can break and sometimes you need to check a few versions to find the one working.
|
||||
|
||||
```bash
|
||||
cd /home/plume/Plume
|
||||
rustup override set nightly-2018-05-15 # this could be needed for compilation. If errors, try 2018-05-31.
|
||||
# rustup override unset # remove the override for this directory.
|
||||
```
|
||||
|
||||
* Rust nightly 2018-06-28 is known to be failing to compile diesel 1.3.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user