Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign updiesel_cli install fails on master #1683
Comments
This comment has been minimized.
|
Thank you for the issue. Installing from git is not expected to work, as cargo does not provide the tools we would need to make it work. You can install the latest master version by cloning the repo locally, and running |
sgrif
closed this
May 6, 2018
This comment has been minimized.
kjeremy
commented
May 6, 2018
|
I can |
This comment has been minimized.
|
I am able to confirm this issue. |
sgrif
reopened this
May 6, 2018
This comment has been minimized.
|
It looks like the inability to install a local clone was due to a recent change in behavior w/ Cargo when installing a package in a workspace. I could not install on diff --git a/diesel_cli/Cargo.toml b/diesel_cli/Cargo.toml
index 2ebe774..c397a6d 100644
--- a/diesel_cli/Cargo.toml
+++ b/diesel_cli/Cargo.toml
@@ -20,7 +20,7 @@ clap = "2.27"
clippy = { optional = true, version = "=0.0.195" }
diesel = { version = "~1.2.0", default-features = false }
dotenv = ">=0.8, <0.11"
-infer_schema_internals = { version = "~1.2.0", features = ["serde"] }
+infer_schema_internals = { version = "~1.2.0", path = "../diesel_infer_schema/infer_schema_internals", features = ["serde"] }
migrations_internals = "~1.2.0"
serde = { version = "1.0.0", features = ["derive"] }
tempfile = "3.0.0" |
sgrif
closed this
May 6, 2018
This comment has been minimized.
|
I'm heading out for the rest of the day. I do not think this is a bug in Diesel. If you have more issues, others can help you at https://gitter.im/diesel-rs/diesel |
kjeremy commentedMay 6, 2018
Setup
Versions
Feature Flags
Problem Description
diesel_cli fails to compile (see message below)
What are you trying to accomplish?
install diesel_cli
What is the expected output?
Should install properly
What is the actual output?
Are you seeing any additional errors?
Steps to reproduce
cargo install diesel_cli --git https://github.com/diesel-rs/dieselChecklist