I am using the following config in my deployed environments -
Rails.application.configure do config.cache_classes = true config.eager_load = true end
If I call Temporal.start_worflow with above configuration, I get -
RuntimeError: grpc cannot be used before and after forking from /bundle/ruby/2.6.0/gems/grpc-1.50.0-x86_64-linux/src/ruby/lib/grpc/generic/client_stub.rb:493:in create_call'`
However if both cache_classes and eager_load is set to false, it works.
Any suggestions on how I can resolve this?