简体   繁体   English

对于2.4.2和2.5.1,gcloud app部署在ruby-build上均失败

[英]gcloud app deploy fails on ruby-build for both 2.4.2 and 2.5.1

I am moving over (I think) from heroku to gcloud for deploying my rails applications. 我正在从Heroku迁移到gcloud,以部署我的Rails应用程序。 I stepped through the full tutorial provided by google here google appengine instructions 我在这里逐步完成了google提供的完整教程google appengine说明

Running gcloud app deploy produces a lot of output. 运行gcloud app deploy会产生大量输出。 However, it seems to show signs of trouble when it tries to download the ruby image from gcp-runtime/ruby/ubuntu16. 但是,当尝试从gcp-runtime / ruby​​ / ubuntu16下载红宝石图像时,似乎显示出麻烦的迹象。

Each time at this spot, I receive the following error: 每次在此位置,我都会收到以下错误:

  1. "ruby-build: definition not found: ruby-2.5.1" - this is when I tried to deploy a 2.5.1 application. “ ruby​​-build:找不到定义:ruby-2.5.1”-这是我尝试部署2.5.1应用程序的时间。 and
  2. "ruby-build: definition not found: ruby-2.4.2" - when I try to deploy a 2.4.2 application. “ ruby​​-build:找不到定义:ruby-2.4.2”-当我尝试部署2.4.2应用程序时。

For this app deploy test, I only created the skeleton rails site using rails new command. 对于此应用程序部署测试,我仅使用rails new命令创建了框架Rails站点。 Executed bundle install and updated the app.yaml as instructed on the site using the secret key. 按照站点上的指示使用密钥执行捆绑包安装并更新app.yaml。

I am deploying in region north-america, if that info is useful 如果该信息有用,我将在北美地区进行部署

How did you set up your Ruby development environment? 您是如何建立Ruby开发环境的? You may profit from taking a look at the "Setting Up a Ruby Development Environment" documentation page . 您可以从“设置Ruby开发环境”文档页面中受益。 The lot of output from the deployment command may prove highly significant, in context. 在上下文中,Deployment命令的大量输出可能被证明是非常重要的。 What is the output from gcloud app deploy --verbosity=debug? gcloud app deploy --verbosity = debug的输出是什么?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM