I am currently investigating this issue and will post on this thread when I have an update.
On Wednesday, July 5, 2017 at 8:49:22 PM UTC-4, Rafael Soares wrote: > > So, I've created a new Rails 5.1 app, worked on it locally (even built > some webpack modules) and deployed to App Engine Flex environment. > > It worked nicely, but I saw this error message in the console output: > > Step 8/10 : RUN if test -d app/assets -a -f config/application.rb; then > bundle exec rake assets:precompile || true; fi > ---> Running in 503bf8112b4a > Yarn executable was not detected in the system. > Download Yarn at https://yarnpkg.com/en/docs/install > /app/vendor/bundle/ruby/2.4.0/bin/rake: No such file or directory - yarn > > It continued to finish the deploy, and the app worked normally, but I > suspect that was because I ran `RAILS_ENV=production rails > assets:precompile` locally before deploying (I was following the tutorial > <https://cloud.google.com/ruby/rails/appengine#deploy_to_app_engine_flexible_environment> > for > deploying). It probably wouldn't have built the assets. > > Is there a way (or is it on the roadmap) to install yarn on the ruby > runtime, so we can leverage asset precompilation during deploy, avoiding > the need to precompile locally. > > Thanks! > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/99229bfe-92a1-4518-8899-046061573575%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
