# Anchor
click_link 'Save'
# Button
click_button 'awesome'
# Both above
So, you just cloned an existing project's repo and you run bundle install
but you got the error: rbenv: version
x.x.x is not installed...
.
What the issue means? The project uses a specific ruby version that you do not have on your system.
Here's how to fix it:
- Install the Ruby build for the specified version using:
rbenv install x.x.x
This guide covers deploying a Docker
image of a Rails
and PostgreSQL
application on Google Cloud Platform using Cloud Build
, Container Registry
, Cloud Key Management Service
, Cloud Run
, Cloud SQL
, and Cloud Store
. The following section provides links to a detailed guide created by a Google Developer Advocate which was the base for my build, but needed to be adjusted.
Google Cloud Run on Rails: a real life example Part 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/controllers/account/registrations_controller.rb b/app/controllers/account/registrations_controller.rb | |
index 376f20a77..a554c9f8d 100644 | |
--- a/app/controllers/account/registrations_controller.rb | |
+++ b/app/controllers/account/registrations_controller.rb | |
@@ -1,6 +1,8 @@ | |
# frozen_string_literal: true | |
module Account | |
class RegistrationsController < Devise::RegistrationsController | |
+ before_action :reject_spam, only: :create | |
+ |