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

Trying to install zef using the instructions on the README results in a "Failed to find the zef config file" error #202

Closed
shlomif opened this issue Sep 4, 2017 · 3 comments

Comments

@shlomif
Copy link

shlomif commented Sep 4, 2017

Context

I'm using Fedora 26 x86-64 Linux and tried to run the installation instructions in the README but they fail with an error:

shlomif@lap:~/Download/unpack/perl/p6/zef$ git show | head
commit 8d62038e239a0d0566065e768c6ad5317ad38624
Author: Nick Logan <nlogan@gmail.com>
Date:   Thu Aug 17 19:22:18 2017 -0400

    Bump version 0.1.27

diff --git a/META6.json b/META6.json
index bc2b1b8..a181e6a 100644
--- a/META6.json
+++ b/META6.json
shlomif@lap:~/Download/unpack/perl/p6/zef$ git i
⇒ On branch master
⇒ Remotes:
origin  https://github.com/ugexe/zef.git (fetch)
origin  ssh://git@github.com/ugexe/zef.git (push)
shlomif@lap:~/Download/unpack/perl/p6/zef$ perl6 -I. bin/zef install .
===SORRY!===
Failed to find the zef config file at: /home/shlomif/.config/zef/config.json, /home/shlomif/Download/unpack/perl/p6/resources/config.json, /home/shlomif/.zef
shlomif@lap:~/Download/unpack/perl/p6/zef$ 

Please fix it or remedy the instructions on the README.

Expected Behavior

zef should get installed.

Actual Behavior

I get the error.

Steps to Reproduce

See above.

Your Environment

shlomif@lap:~/Download/unpack/perl/p6/zef$ perl6 -v
This is Rakudo version 2017.06 built on MoarVM version 2017.06
implementing Perl 6.c.

Thanks!

@ugexe
Copy link
Owner

ugexe commented Sep 4, 2017

Heh, thanks for catching this. I forgot I only fixed this in a relatively recent rakudo commit 😅

@ugexe
Copy link
Owner

ugexe commented Sep 4, 2017

Resolved in 6b60b72

(i.e. I changed the instructions back to using -Ilib instead of -I.)

@ugexe ugexe closed this as completed Sep 4, 2017
@shlomif
Copy link
Author

shlomif commented Sep 4, 2017

Thanks for the fix - it is working now.

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

2 participants