Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locatng the config file in ~/.config/gurk/gurk.toml doesn't work #18

Closed
oren opened this issue Aug 8, 2020 · 2 comments
Closed

Locatng the config file in ~/.config/gurk/gurk.toml doesn't work #18

oren opened this issue Aug 8, 2020 · 2 comments

Comments

@oren
Copy link

oren commented Aug 8, 2020

gurk

Error: failed to read config from: /home/oren/.gurk.toml

Caused by:
    No such file or directory (os error 2)

This works fine btw:

mv ~/.config/gurk/gurk.toml ~/.gurk.toml

btw, I am on Ubuntu 16.04

@cleeyv
Copy link
Contributor

cleeyv commented Sep 27, 2020

I had the same problem when I installed with cargo install gurk because it defaults to installing the crate from https://crates.io/crates/gurk which is set to version 0.1.0. This means that it refers to the 0.1.0 tag in the github repo, and there have been some commits since this tag related to the location of the config file: v0.1.0...master

I reinstalled with cargo install --git https://github.com/boxdot/gurk-rs and the problem was resolved for me, so you could try the same.

@boxdot, I think the cause of this issue for oren and I could be resolved by creating a new tag like 0.1.1 that includes the more recent commits, and updating the version on crates.io so that cargo install gurk gets the latest code and then people following the instructions in the README won't have this problem. Thanks!

@boxdot
Copy link
Owner

boxdot commented Oct 1, 2020

Thanks for opening the issues. This was indeed fixed on master. New version is published in #20.

@boxdot boxdot closed this as completed Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants