appengine-ruby
appengine-ruby copied to clipboard
GCloud failed with result code 126 when running migrations
(appengine)[udi:soundprint/web]$ bundle exec rake appengine:exec -- bundle exec rake db:migrate
sh: /Users/udi/Downloads/google-cloud-sdk: is a directory
rake aborted!
AppEngine::Util::Gcloud::GcloudFailed: GCloud failed with result code 126
/Users/udi/.rbenv/versions/2.5.3/bin/bundle:23:in `load'
/Users/udi/.rbenv/versions/2.5.3/bin/bundle:23:in `<main>'
Tasks: TOP => appengine:exec
(See full trace by running task with --trace)
gcloud is in my path as far as I can tell. All other commands work, like gcloud config get-value project
(appengine)[udi:soundprint/web]$ which gcloud
/Users/udi/Downloads/google-cloud-sdk 2/bin/gcloud
What might I be doing wrong? Thanks!
@udfalkso, did you find a solution ?
Sorry no. Back to heroku...
I suspect this is happening because you have a space in your path to gcloud (directory /Users/udi/Downloads/google-cloud-sdk 2/). Rename that directory (and adjust your $PATH as necessary).