Closed fingolfint closed 5 years ago
Hello I am getting the same problem:
HuysMacbook:bucc huytran$ source .envrc HuysMacbook:bucc huytran$ ./bin/bucc: line 301: echo: write error: Broken pipe
What version of bash are you running and what is the output from "direnv status"? This may be related to a sourcing error in bash.
Can be mitigated by running 'eval $(bin/bucc env)' from repo root folder
What version of bash are you running and what is the output from "direnv status"? This may be related to a sourcing error in bash.
HuysMacbook:bucc huytran$ bash --version GNU bash, version 4.4.23(1)-release (x86_64-apple-darwin18.0.0) Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. HuysMacbook:bucc huytran$
Not running direnv
i changed my shebang in the bucc script and it resolved it
I updated bash (version 5.0.2(1)-release (x86_64-apple-darwin18.2.0) and it works fine. Thanks!
Hi on macOs Mojave 10.14.2 installed direnv 2.18.2.
a simple direnv .envrc test with export HELLO="boohoo" works fine: cd vagrant/ direnv: error .envrc is blocked. Run
direnv allow
to approve its content. $ direnv allow . direnv: loading .envrc direnv: export +HELLO $ cd .. direnv: unloadingbut this fails: git clone https://github.com/starkandwayne/bucc.git $cd bucc direnv: error .envrc is blocked. Run
direnv allow
to approve its content.$ direnv allow . direnv: loading .envrc installing bosh cli '5.3.1' into: /Users/fingolfin/bucc/bin/ direnv: ([/usr/local/bin/direnv export bash]) is taking a while to execute. Use CTRL-C to give up. ./bin/bucc: line 301: echo: write error: Broken pipe