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 upbash: diesel: command not found #1131
Comments
This comment has been minimized.
|
How'd you install it? With cargo install? It writes the binary to a path
like `.cargo/bin/`. See cargo's docs for details.
yyolf117 <notifications@github.com> schrieb am Sa. 26. Aug. 2017 um 13:00:
… I've installed "diesel_cli" but when I'm calling "diesel setup" or
"diesel_cli", the exception is "bash: diesel: command not found". What's
the matter? Wasn't it supposed to insert itself into the path?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1131>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABOXz8zPIZw3wTx-5ecQ-wIG2QzWAAWks5sb_rlgaJpZM4PDcl2>
.
|
This comment has been minimized.
yyolf117
commented
Aug 26, 2017
|
yes, with cargo install. |
This comment has been minimized.
yyolf117
commented
Aug 26, 2017
•
but
and one more thing: what if I gave it a different name? MY_DATABASE_URL
|
This comment has been minimized.
|
So, I guess You can also tell (I think rustup adds this but only for certain shells and system.) |
killercup
added
cli
question
labels
Aug 26, 2017
This comment has been minimized.
yyolf117
commented
Aug 26, 2017
|
ok, how about my last question? |
This comment has been minimized.
|
I didn't see your edit or the question in the code block.
Then… you have an environment variable called |
This comment has been minimized.
yyolf117
commented
Aug 26, 2017
•
|
thx. but I can't use the env. variable called |
This comment has been minimized.
|
That's what the .env file is for :) Have a look at the guide. |
yyolf117
closed this
Aug 26, 2017
This comment has been minimized.
yyolf117
commented
Aug 27, 2017
•
|
I didn't find anything related to "--database-url" being passed as an argument to diesel in the command line in the guides, where is it? |
This comment has been minimized.
|
What do you mean? Have you read `diesel --help`? It's `diesel
--database-url="your url"`.
yyolf117 <notifications@github.com> schrieb am So. 27. Aug. 2017 um 05:21:
… I didn't find anything related to "--database-url" being passed as an
argument to diesel in the command line, where is it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1131 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABOX54OwdRwP11yTfefzFJcpdqxP8uxks5scODMgaJpZM4PDcl2>
.
|
This comment has been minimized.
yyolf117
commented
Aug 27, 2017
|
yeah, thanks. |
yyolf117 commentedAug 26, 2017
•
edited
I've installed "diesel_cli" but when I'm calling "diesel setup" or "diesel_cli", the exception is "bash: diesel: command not found" or "bash: diesel_cli: command not found". What's the matter? Wasn't it supposed to insert itself into the path?