Closed HParker closed 7 years ago
@sgrif Sorry for the ping, but what do you think of this?
Thanks, @HParker!
Can you maybe add a bit more of an explanation to the error message (it says library not found for -lmysqlclient
but I don't want to assume everyone knows what this means) and also first suggest installing MySQL as an alternative before customizing the diesel_cli install?
I don't think installing mysql-dev if you don't use mysql is useful advice. It needlessly trashes the build host.
Thanks @killercup Sorry I was slow in responding. My goal here was to make it easier to find the command to install without mysql instead of tracking down the issue in github. I am sure it could still be made better, but solves the "I got this weird exception" issue that I ran into.
I think it is common enough to not have mysql on your machine it warrants an aside in the getting started doc.
Here is a look at what it looks like on my machine:
Questions
I don't totally love the syntax highlighting on the error message, but I couldn't figure out another style that looked better. Do you have a preference?