Hey gdenn,

Sourcing .bash_profile is the right thing to do, as it's there that the 
path is augmented to add gcloud and its completions. You should check if 
another file, like ~/.bashrc is being sourced, and if necessary, add 
"source ~/.bash_profile" in there, to ensure it is sourced every time and 
doesn't need to be run as a command by hand in future.

I found a link online to a github issue where a user saw similar issues 
<https://github.com/eddiezane/lunchy/issues/57> (I found it by googling the 
error message, a common and very useful means to debug issues!) on Mac OS 
X. Check the thread for advice on possible solutions, such as installing 
bash_completion. Be aware that this isn't a link to Google documentation so 
you assume responsibility for it, and I'm far from guaranteeing it as a 
solution. But it's one possible avenue to look into.

Another issue the link raises is whether or not you're even running a bash 
shell. Zsh has a different syntax and you may need to figure out how to 
augment your path and set up completion. There's a gist on github 
<https://gist.github.com/dwchiang/10849350> purporting to show this, but 
note that this is also not one of our links and I can't vouch for it - 
you'll have to study it yourself for security, applicability, etc.

Let me know if you have any further questions, and how all this works out 
for you; I'll be happy to help!

Nick
Cloud Platform Community Support
 

On Friday, February 10, 2017 at 10:02:10 AM UTC-5, gdenn wrote:
>
> Hi,
>
> i recently changed to macOs and i am currently running their newest 
> Version "macOS Sierra Version 10.12".
> Problems started after i installed gcloud cli tools from the official page 
> https://cloud.google.com/sdk/docs/quickstart-mac-os-x . 
> I tried both (Darwin_x_86 and Darwin_x_86_64) but after installation there 
> is no env variable set for gcloud. So i look into the ~/.bash_profile and 
> what i see is 
> https://gist.github.com/Rapdrei/4a97512039cdc2c835e42e6e4dc453d3
>
> After that i call .bash_profile manually by source ~/.bash_profile and 
> receive the error 
> https://gist.github.com/Rapdrei/7fb2277309941d3621a9ac99b19b092b .
>
> Could someone reproduce the problem or even solve it?
> best,
> gdenn
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6703d274-65fa-44db-b3a5-e5b502e9f9c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine] g... 'gdenn' via Google App Engine
    • [google-appengi... 'Nick (Cloud Platform Support)' via Google App Engine

Reply via email to