diff options
-rw-r--r-- | Vagrantfile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Vagrantfile b/Vagrantfile index 25e3888..144dc82 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -67,13 +67,13 @@ Vagrant.configure("2") do |config| pacman -Suyq --noconfirm rustup postgresql gcc make su - postgres -c "initdb --locale en_US.UTF-8 -D '/var/lib/postgres/data'" + systemctl enable postgresql + systemctl start postgresql + su - postgres -c "createuser -d vagrant" - su - vagrant -c "rustup install nightly" - su - vagrant -c "rustup default nightly" - su - vagrant -c "cargo install diesel_cli --no-default-features --features postgres" + su - vagrant -c "rustup default nightly-2017-12-21" + su - vagrant -c "cargo install -q diesel_cli --no-default-features --features postgres" su - vagrant -c 'echo "PATH=$HOME/.cargo/bin:$PATH" >> ~/.bash_profile' - systemctl enable postgresql - systemctl start postgresql SHELL end |