Use Ruby on Rails with Cloud SQL for PostgreSQL on Cloud Run Rezensionen

7054 Rezensionen

Step #0 - "build image": rake aborted! Step #0 - "build image": NoMethodError: undefined method `[]' for nil:NilClass (NoMethodError) Step #0 - "build image": /app/config/database.yml:88:in `<main>' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/activesupport-8.0.0.1/lib/active_support/configuration_file.rb:57:in `render' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/activesupport-8.0.0.1/lib/active_support/configuration_file.rb:22:in `parse' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/activesupport-8.0.0.1/lib/active_support/configuration_file.rb:18:in `parse' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/railties-8.0.0.1/lib/rails/application/configuration.rb:423:in `load_database_yaml' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/activerecord-8.0.0.1/lib/active_record/tasks/database_tasks.rb:138:in `setup_initial_database_yaml' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/activerecord-8.0.0.1/lib/active_record/railties/databases.rake:7:in `<main>' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/activerecord-8.0.0.1/lib/active_record/railtie.rb:57:in `load' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/activerecord-8.0.0.1/lib/active_record/railtie.rb:57:in `block in <class:Railtie>' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/railties-8.0.0.1/lib/rails/railtie.rb:285:in `instance_exec' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/railties-8.0.0.1/lib/rails/railtie.rb:285:in `block in run_tasks_blocks' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/railties-8.0.0.1/lib/rails/railtie.rb:297:in `each' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/railties-8.0.0.1/lib/rails/railtie.rb:297:in `each_registered_block' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/railties-8.0.0.1/lib/rails/railtie.rb:285:in `run_tasks_blocks' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/railties-8.0.0.1/lib/rails/application.rb:558:in `block in run_tasks_blocks' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/railties-8.0.0.1/lib/rails/engine/railties.rb:15:in `each' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/railties-8.0.0.1/lib/rails/engine/railties.rb:15:in `each' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/railties-8.0.0.1/lib/rails/application.rb:558:in `run_tasks_blocks' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/railties-8.0.0.1/lib/rails/engine.rb:470:in `load_tasks' Step #0 - "build image": /app/Rakefile:6:in `<top (required)>' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/bundler-2.5.23/lib/bundler/cli/exec.rb:58:in `load' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/bundler-2.5.23/lib/bundler/cli/exec.rb:58:in `kernel_load' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/bundler-2.5.23/lib/bundler/cli/exec.rb:23:in `run' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/bundler-2.5.23/lib/bundler/cli.rb:456:in `exec' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/bundler-2.5.23/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/bundler-2.5.23/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/bundler-2.5.23/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/bundler-2.5.23/lib/bundler/cli.rb:35:in `dispatch' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/bundler-2.5.23/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/bundler-2.5.23/lib/bundler/cli.rb:29:in `start' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/bundler-2.5.23/exe/bundle:28:in `block in <top (required)>' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/bundler-2.5.23/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors' Step #0 - "build image": /app/vendor/bundle/ruby/3.2.0/gems/bundler-2.5.23/exe/bundle:20:in `<top (required)>' Step #0 - "build image": /usr/local/bundle/bin/bundle:25:in `load' Step #0 - "build image": /usr/local/bundle/bin/bundle:25:in `<main>' Step #0 - "build image": (See full trace by running task with --trace) Step #0 - "build image": The command '/bin/sh -c bundle exec rake assets:precompile' returned a non-zero code: 1 Finished Step #0 - "build image" ERROR ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

Chander Pal B. · Vor 11 Stunden überprüft

필성 조. · Vor 3 Tage überprüft

Prasenjit S. · Vor 6 Tage überprüft

Jirmit D. · Vor 6 Tage überprüft

JIWON G. · Vor 9 Tage überprüft

Got error with gcloud builds submit : gcloud builds submit --config cloudbuild.yaml --substitutions _SERVICE_NAME=$APP_NAME,_DBINST=$DBINST,_REGION=$REGION,_SECRET_NAME=rails_secret --timeout=20m Creating temporary archive of 103 file(s) totalling 112.1 KiB before compression. Some files were not included in the source upload. Check the gcloud log [/tmp/tmp.FypxfYHLmC/logs/2026.04.10/01.32.53.533891.log] to see which files and the contents of the default gcloudignore file used (see `$ gcloud topic gcloudignore` to learn more). Uploading tarball of [.] to [gs://qwiklabs-gcp-03-0cb8b00f7fd5_cloudbuild/source/1775784773.827893-56595fdfd4fe4c219c0b3dc77919bb1f.tgz]

Chander Pal B. · Vor 9 Tage überprüft

it doesn't work. no enougth permissions.

Javier C. · Vor 11 Tage überprüft

Mohamed N. · Vor 16 Tage überprüft

Lab: Use Ruby On Rails with Cloud SQL for PostgreSQL on Cloud Run is faulty

Mohamed N. · Vor 18 Tage überprüft

command to create slq instance took too long to complete during first run, I had to cancel, cleanup and re-run, all good though gcloud sql instances create $INSTANCE_NAME \ --database-version POSTGRES_17 \ --tier db-g1-small \ --region $REGION \ --edition=ENTERPRISE

Eduardo Alejandro G. · Vor 22 Tage überprüft

Waleed E. · Vor 26 Tage überprüft

Anıl Ş. · Vor 26 Tage überprüft

Petra V. · Vor 27 Tage überprüft

Igor P. · Vor 29 Tage überprüft

markus d. · Vor etwa ein Monat überprüft

Jorge C. · Vor etwa ein Monat überprüft

Anton T. · Vor etwa ein Monat überprüft

Sudarmathi K. · Vor etwa ein Monat überprüft

Erik Nelson M. · Vor etwa ein Monat überprüft

Adrianus Y. · Vor etwa ein Monat überprüft

Merv W. · Vor etwa 2 Monate überprüft

Anthony S. · Vor etwa 2 Monate überprüft

Nyeem O M. · Vor etwa 2 Monate überprüft

Nyeem O M. · Vor etwa 2 Monate überprüft

Akanksha M. · Vor etwa 2 Monate überprüft

Wir können nicht garantieren, dass die veröffentlichten Rezensionen von Verbrauchern stammen, die die Produkte gekauft oder genutzt haben. Die Rezensionen werden von Google nicht überprüft.