0

I am trying to put yet another Ruby on rails application on Google App Engine, but this time without success. I get an error in the cloud build that I just can't decipher

=== Ruby - Appengine Validation ([email protected]) ===
--------------------------------------------------------------------------------
failed to build: (error ID: e3b0c442):
ERROR: failed to build: exit status 1

Have you ever experienced a similar situation? GAE standerd with Rails 7.2, ruby 3.3.

Its works fine in GAE flex so it's a limitation with standard environment buy I am not able to find any information about 'why?'

asked May 5 at 12:02

1 Answer 1

0

There may be compatibility issues with Rails 7.2 due to recent changes introduced in this version.

Consider downgrading to Ruby 2.7 and Rails versions which are supported by the standard environment.

Rails 7.2 now requires Ruby 3.1 as the minimum version. This change means that Rails 7.2 may not be fully compatible with Ruby 3.0 or earlier versions. However, it doesn't explicitly state that Rails 7.2 is incompatible with Ruby 3.2.

Although Ruby 3.2 is supported according to the Runtime Schedule by the App Engine Standard Environment, there have been reports of deployment issues when using it. One example is in the Google Cloud Community mentions problems with the foreman gem when deploying Rails apps with Ruby 3.2 in the Standard Environment.

answered May 7 at 19:16
Sign up to request clarification or add additional context in comments.

2 Comments

Did this work? Any suggestions or confirmation to my solution would be appreciated.
Hi and thanks for the answer. Ruby2.7 has been retired on GAE and can no longer be deployed. I have many apps on standard GAE that run with ruby 3.2 without any problems but the version of rails is 6 It will probably be something with this version of Rails but the debug says absolutely nothing, unfortunately this has always been the case with GAE and the information out there is little and incorrect or outdated. I will migrate this app to Cloud Run but even here but also here for Ruby/Rails it's all cloudy. So I will look into other possibilities in the near future

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.