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?'
1 Answer 1
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.